about summary refs log tree commit diff
path: root/tests/unit/auth/test_admin_users.py
diff options
context:
space:
mode:
authorClaude2026-08-26 15:38:44 +0000
committerFrederick Muriuki Muriithi2026-08-26 11:26:41 -0500
commitcdfe84908987d94034ed8bc435084ccdebd8cc30 (patch)
treeebf0b70adbf445c8072436181e402a679d3a65a3 /tests/unit/auth/test_admin_users.py
parent7f516edda1f4eb082a8bce8574efabbc536edd05 (diff)
downloadgn-auth-cdfe84908987d94034ed8bc435084ccdebd8cc30.tar.gz
feat(admin/users): implement create_verified_user
Replaces the dummy stub with a real implementation that:
- calls save_user(cursor, email, name, verified=True) to create the user
  with the verified flag set, bypassing the email verification flow
- calls set_user_password to store the hashed credential in user_credentials
- returns the newly created User with no roles assigned

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'tests/unit/auth/test_admin_users.py')
0 files changed, 0 insertions, 0 deletions