Age | Commit message (Collapse) | Author |
|
|
|
- Add bootstrap form control class in change password
- Show alert messages in change password
- Increase number of pages in paginator
- Reduce number of course pages in moderator dashboard
|
|
|
|
|
|
|
|
|
|
|
|
The problem was:
We have included yaksh urls to the project urls with the namespace
"yaksh".
So whenever we call the url name i.e "yaksh:<url>" a reverse match is
made.
But for Forgot Password and Change Password we are using django's
in-built functionality, where the reverse url is hardcoded.
So the reverse match fails as the namespace is not specified!
To resolve this, created a urls_password_reset URL dispatcher file and
included to the project urls.
|
|
|
|
|
|
Used django in-built views.
Templates overridden.
User enters email address and submits.
The user receives an email with password reset link(one time link).
The link contains a token generate using the current state of the user
like user password.
The link is verified each time when it is been requested.
So the link will be invalid if the user has already changed the password
using the link.(since the token is generated using current state of the
user.)
User resets his password via the link.
|