Skip to content
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

Force user to change its password #3346

Merged
merged 1 commit into from Jan 9, 2018
Merged

Conversation

ger-benjamin
Copy link
Member

@ger-benjamin ger-benjamin commented Jan 8, 2018

Fix: #3278 - Use of is_password_changed

Demo here: https://ger-benjamin.github.io/ngeo/is_password_change_func/examples/contribs/gmf/apps/desktop
You can try it with the user: demobern (please, don't change the password).

selection_059

if (this.allowPasswordChange === undefined) {
this.allowPasswordChange = true;
}
this.allowPasswordReset = !(this.allowPasswordReset === false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=> this.allowPasswordReset !== false
not?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed

Fix: #3278 - Use of is_password_changed
@ger-benjamin ger-benjamin merged commit 1a817f9 into 2.2 Jan 9, 2018
@ger-benjamin ger-benjamin deleted the is_password_change_func branch January 9, 2018 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants