users: use two distinct actions for user password reset.

- this makes a better UX instead of TOGGLE.
This commit is contained in:
Marcin Kuzminski 2019-01-14 18:46:18 +01:00
parent 89024101a8
commit c37bfb464a
6 changed files with 61 additions and 30 deletions

View file

@ -59,8 +59,6 @@ def route_path(name, params=None, **kwargs):
ADMIN_PREFIX + '/users/{user_id}/update',
'user_delete':
ADMIN_PREFIX + '/users/{user_id}/delete',
'user_force_password_reset':
ADMIN_PREFIX + '/users/{user_id}/password_reset',
'user_create_personal_repo_group':
ADMIN_PREFIX + '/users/{user_id}/create_repo_group',