-
Notifications
You must be signed in to change notification settings - Fork 2
Adding support for password reset. Fix for database has gone away error #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@@ -252,6 +252,17 @@ has users_password_column => ( | |||
default => 'password', | |||
); | |||
|
|||
=head2 pw_rest_code_column |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: s/rest/reset/
Could you flesh out the documentation a little more, as well as to add a test exercising the new functionality? |
Hi,
Yep, can do. I'll hit it when I have a chance.
Kiel.
…On Tue, 21 Nov 2017, 11:56 a.m. Yanick Champoux, ***@***.***> wrote:
Could you flesh out the documentation a little more, as well as to add a
test exercising the new functionality?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB-w_3FkEEzvilaPbg-vZ55lEKcoXekDks5s4h-pgaJpZM4NxQOi>
.
|
Excellent! Mucho thanks! |
@@ -389,14 +402,44 @@ sub get_user_details { | |||
} | |||
} | |||
|
|||
=Head2 get_user_by_code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Head2/head2/
Hope you don't mind but Ive added support for users to reset their passwords via the Dancer2::Plugin::Auth::Extensible framework. I have also added the code to avoid database has gone away. No caching of db connection.