Two gaps surfaced while running DeepTutor for a staff roster:
1. No endpoint changed a password. The service layer already had
identity.set_password(), but nothing exposed it, so an account whose
password was lost could only be fixed by editing users.json by hand.
- PUT /api/auth/profile/password (self-service, verifies the current
password so a stolen session alone cannot take the account over)
- PUT /api/auth/users/{username}/password (admin reset, require_admin)
2. The username validator only accepted [A-Za-z0-9_-.]{3,64}, so real
names such as 于冬阳 were rejected — with an error message that said
'enter a valid email address', which pointed at the wrong problem.
CJK-only names now allow two characters (张伟) where Latin usernames
still require three (abc); the message names both accepted forms.