Skip to content
Snippets Groups Projects
Commit bdb760b3 authored by Maarten de Waard's avatar Maarten de Waard :angel: Committed by Mart van Santen
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent aab32a8f
No related branches found
No related tags found
1 merge request!51Resolve "Make recovery link / password recovery work with kratos"
Pipeline #9795 passed with stage
in 2 minutes and 15 seconds
......@@ -46,9 +46,7 @@ class User(db.Model):
}
# Relabel field names
for field in mapping:
old_field_name = field[0]
new_field_name = field[1]
for old_field_name, new_field_name in mapping:
token[new_field_name] = token[old_field_name]
del token[old_field_name]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment