-
- Downloads
[FIX] web: prevent multiple clicks on the log in button
Before this commit, the user had the possibility to spam the "Log in"
button when trying to connect. This could lead to a change of the CSFR
token and an errror of type "werkzeug.exceptions.BadRequest: 400 Bad
Request: Session expired (invalid CSRF token)" could then happen.
This commit makes the “Log in” button un-clickable once it has been
clicked and adds a loading effect to it.
task-2996329
closes odoo/odoo#104323
Signed-off-by:
Benoit Socias (bso) <bso@odoo.com>