Members
formValidation :Array.<express.RequestHandler>
Validation for the user management form. Field rules run for create and
update only. A new password is not refilled after an error; an unchanged
stored hash is, via the passwordUnchanged flag.
Type:
- Array.<express.RequestHandler>
- Source:
routes :express.Router
Type:
- express.Router
- Source:
Methods
(static) handleUserManagement()
Creates, updates or deletes a user from the validated management form. Hashes the password unless it is already a bcrypt hash or the action is delete.
- Source:
(static) viewUserManagement()
Renders the user management page with a filtered, sorted and paginated user list. Loads the user in the URL into the edit form, even when that user is not on the current page.
- Source: