diff options
author | Frederick Muriuki Muriithi | 2023-01-05 07:53:21 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-05 07:53:21 +0300 |
commit | 93e20e7be957c0a4c8b08d2a5395f29109865c82 (patch) | |
tree | 8c527e968eef756671bffdfe0e2b119eb6042158 /setup.py | |
parent | 3752c663fa9ded1801680aa2342947b7676d8ce9 (diff) | |
download | genenetwork3-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 'setup.py')
0 files changed, 0 insertions, 0 deletions