Skip to content

Commit

Permalink
[MIG] auth_totp_password_security: Migration to 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow authored and dsolanki-initos committed Jan 2, 2023
1 parent 4fcf84c commit 277ca34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion password_security/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PasswordSecuritySession(Session):
@http.route()
def change_password(self, fields):
new_password = operator.itemgetter('new_password')(
dict(map(operator.itemgetter('name', 'value'), fields))
dict(list(map(operator.itemgetter('name', 'value'), fields)))
)
user_id = request.env.user
user_id._check_password(new_password)
Expand Down

0 comments on commit 277ca34

Please sign in to comment.