|
|
@ -954,9 +954,9 @@ def update_tokens_in_doc(user_email, access, refresh): |
|
|
|
frappe.db.commit() |
|
|
|
|
|
|
|
user_token_details['access_token'] = access |
|
|
|
user_token_details['access_expiry_time'] = access_exp_hours |
|
|
|
user_token_details['access_expiry_time'] = access_exp_hours* 60 |
|
|
|
user_token_details['refresh_token'] = refresh |
|
|
|
user_token_details['refresh_expiry_time'] = refresh_exp_hrs |
|
|
|
user_token_details['refresh_expiry_time'] = refresh_exp_hrs* 60 * 60 |
|
|
|
return user_token_details |
|
|
|
|
|
|
|
|
|
|
|