feat(auth): add password reset functionality and user model update
- Introduced a `mustResetPassword` field in the User model to manage password reset requirements. - Enhanced authentication flow to support password changes, including validation and error handling. - Updated frontend components to handle password reset scenarios and integrate with the new API endpoints. - Modified authentication context and hooks to accommodate the new password reset logic. - Adjusted E2E tests to ensure proper coverage for the password reset functionality.
This commit is contained in:
@@ -179,9 +179,10 @@ AUTH_COOKIE_NAME=excalidash_auth
|
||||
AUTH_COOKIE_SAMESITE=lax
|
||||
```
|
||||
|
||||
Once logged in, admins can toggle user registration and grant other admins from
|
||||
Settings. If no admin credentials are provided, the UI will prompt to create the
|
||||
first admin account.
|
||||
Once logged in, admins can manage user registration settings and user roles from
|
||||
the Settings page. When no admin credentials are provided via environment variables,
|
||||
an initial admin user is created with a randomly generated password that is logged
|
||||
to the console on startup.
|
||||
|
||||
# Development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user