Skip to content

Fix promoted admin password change right after registration#10492

Merged
alecslupu merged 2 commits intodecidim:developfrom
mainio:fix/promoted-admin-password-change
Mar 13, 2023
Merged

Fix promoted admin password change right after registration#10492
alecslupu merged 2 commits intodecidim:developfrom
mainio:fix/promoted-admin-password-change

Conversation

@ahukkanen
Copy link
Copy Markdown
Contributor

@ahukkanen ahukkanen commented Mar 9, 2023

🎩 What? Why?

If a participant registers to the platform with a strong password and they are promoted to admin straight after the account creation, the system requires them to change their password straight away.

This fixes the issue.

📌 Related Issues

Testing

  • Register a new user to the platform with password decidim123456789
  • Confirm the registration by clicking the confirmation email's link
  • Test that you can login with that user normally as a participant and log out after that
  • Promote the new user to an admin (though the UI or the rails console)
  • Try logging in again
  • See that the system no longer requires you to change your password straight away

In current Decidim version, the password change is required right after the user is promoted to an admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants