Update Profile
Update the authenticated user’s display name.Authentication
Requires authentication via session cookie or bearer token.Request Body
New display name for the user. Must not be empty after trimming whitespace.
Response
Whether the profile update succeeded
Human-readable success message
Example
Response Example
Error Responses
Change Password
Change the authenticated user’s password. Requires the current password for verification.Authentication
Requires authentication via session cookie or bearer token.Request Body
The user’s current password for verification
The new password. Must be at least 8 characters long.
Response
Whether the password change succeeded
Human-readable success message
Example
Response Example
Error Responses
400 Bad Request:- New password is less than 8 characters
- Current password is incorrect
Security Notes
- Passwords are hashed using Argon2id before storage
- Current password must be verified before allowing change
- No password complexity requirements beyond minimum length
Implementation Reference
Seesrc/routes/settings.rs:453 (update_profile) and src/routes/settings.rs:506 (change_password) for endpoint implementations.