Skip to Content
Password Reset Manager
password_reset_manager

Password Reset Manager

Lets users reset a password directly from the login page, including with a master password.

  • Odoo 17
  • Tools & Administration
  • 17.0.1.0.1
1

Overview

The standard reset flow depends on an email link, which fails when mail is not configured. This module adds direct reset pages on the login screen where a user gives the user name and either the old password or the master password with the new one. It is built on the signup module and replaces the email step with a controlled form. Administrators keep access control through the server master password.

2

Usage steps

  1. 1

    Open forgot password

    On the login page press the reset link. The route /web/forgot_password renders the Reset password template. It asks for the user name.

    • Link added after the login button
    • Field: user_name
  2. 2

    Direct reset with old password

    The direct page asks for old password, new password and confirmation. The controller checks that both new values match and authenticates the old one. On success the password is written and the user is sent to login with a message.

    • Fields: old_password, new_password, confirm_new_password
    • Route /web/reset_password/submit
  3. 3

    Reset with the master password

    When the old password is lost the user enters the master password with the new one. The controller verifies it against the server configuration. Only then the user password is changed.

    • Field: master_password
    • Route /web/reset_by_master_pass/submit
  4. 4

    Validation and protection

    Public users cannot change passwords and mismatching values return an error message. Errors re-render the form with the message. Restrict the master password to administrators.

    • Public users blocked
    • Mismatch error message
4

Roles

Benefiting roles
Role
Any user
System administrator
5

Dependencies

Back to version applications

Want to know more or try this app? Contact us

We can arrange a demo or a trial and answer your questions about Password Reset Manager.

Contact us