aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/roles.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-01-05 07:53:21 +0300
committerFrederick Muriuki Muriithi2023-01-05 07:53:21 +0300
commit93e20e7be957c0a4c8b08d2a5395f29109865c82 (patch)
tree8c527e968eef756671bffdfe0e2b119eb6042158 /gn3/auth/authorisation/roles.py
parent3752c663fa9ded1801680aa2342947b7676d8ce9 (diff)
downloadgenenetwork3-93e20e7be957c0a4c8b08d2a5395f29109865c82.tar.gz
auth: Persist the user's registration details
If the registration details pass the validations steps, then persist the details in the database and respond with details about the newly created user. * gn3/auth/authentication/users.py: new functions * `save_user`: create and persist a new user * `set_user_password`: hash and persist the new password for the given user * gn3/auth/authorisation/views.py: Persist the user details and respond with the newly persisted user details.
Diffstat (limited to 'gn3/auth/authorisation/roles.py')
0 files changed, 0 insertions, 0 deletions