Skip to content

Commit

Permalink
fix: ignore permissions while updating token
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Jun 1, 2023
1 parent 8410c59 commit fa461c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def renew_tokens(self, save=True):
raise e
if save:
self.flags.ignore_custom_fields = True
self.flags.ignore_permissions = True
self.save()
frappe.db.commit()
self.load_from_db()
Expand Down

0 comments on commit fa461c8

Please sign in to comment.