mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
users: Fix user permissions not being saved
Fixes #1299 Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
bd542bb614
commit
642ac0f997
@ -200,6 +200,7 @@ class UserUpdateForm(ValidNewUsernameCheckMixin,
|
||||
|
||||
if commit:
|
||||
user.save()
|
||||
self.save_m2m()
|
||||
|
||||
output = actions.superuser_run('users',
|
||||
['get-user-groups', self.username])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user