Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #307 from mickey06/develop
Browse files Browse the repository at this point in the history
Save changes to db after removal of role from user
  • Loading branch information
Matt Wright committed Aug 29, 2014
2 parents 708ddeb + 52b177c commit d2fe7ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_security/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def remove_role_from_user(self, user, role):
if role in user.roles:
rv = True
user.roles.remove(role)
self.put(user)
return rv

def toggle_active(self, user):
Expand Down

0 comments on commit d2fe7ae

Please sign in to comment.