Hello Friends
i was reviewing codes that i faced something
|
def register_user_with_email_and_password(email, password): |
|
def change_user_password(user, password): |
|
def open_auth_user_creator(email, first_name, last_name, profile_image): |
in these methods we are changing profile data but we don't apply these changes to the database with
user.profile.save() (we are just saving user changes)
is there any reason for this ?
Hello Friends
i was reviewing codes that i faced something
backend/authnz/transactions.py
Line 9 in 5ef2dca
backend/authnz/transactions.py
Line 19 in 5ef2dca
backend/authnz/transactions.py
Line 26 in 5ef2dca
in these methods we are changing profile data but we don't apply these changes to the database with user.profile.save() (we are just saving user changes)
is there any reason for this ?