# Password recovery ## Request a reset email 1. Select “Forgot password?” on the [sign-in page](/en/docs/admin-login) or open `/forgot-password`. 2. Enter your account email, for example `ani@example.org`. The message goes to the registered address. The form checks email format and the server checks whether the address belongs to a user. 3. Submit the request. On success you will see a message about the email and return to sign-in. If delivery is delayed, check the spam folder and the spelling of the address. If requests are temporarily limited, wait for the stated interval. 4. Open the complete email link on a device you use yourself. The link is valid for three hours from issue and can be used once. Keep it private, including when contacting support. ## Set the new password The link opens `/reset-password` with the details of your specific request. Enter the new password twice and save. The server requires at least eight characters, upper- and lowercase letters, a digit and a symbol. In production it also checks known compromised passwords. If the two fields differ, enter the same new password in both. A success message and a return to sign-in confirm the change. The system revokes the account’s previously issued access tokens. If you were signed in elsewhere, sign in again with the new password. Two-factor authentication, pending activation, roles and organizational scope continue to apply independently. If you lost your authenticator, follow [two-factor recovery](/en/docs/admin-two-factor). ## Identify the right link - **Password reset or invitation to set a password.** The complete link opens `/reset-password`. If the invitation is for initial password setup, the invitation purpose changes the heading. Both use the same save operation. - **New employee invitation.** An email link to `/registration` opens [employee registration](/en/docs/admin-registration), which also asks for the employee’s name. - **Standalone `/create-new-password` page.** It displays two fields, a save button and a return to sign-in. Submission on this page is currently unconnected to the save operation. To set a password, open the complete link in the institution’s email. ## If the change did not complete The form reports an invalid link if the email or one-time confirmation is missing. Reopen the original email. If the link expired or was already used, request another through “Forgot password?”. If saving is rejected, check that the entries match and meet the composition rules before submitting again. Look for the confirmation and redirect to sign-in. The three frontend routes are public and do not require module permissions or faculty, profession or department scopes. Requesting the email sends `POST /api/password/forgot`, and saving sends `POST /api/password/reset`. The institution’s password lifetime settings are documented separately. [Password expiration](/en/docs/password-expiration) ## Implementation references - [frontend-edusystems · authRoutes.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/authRoutes.tsx) - [frontend-edusystems · ForgotPassword.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Auth/components/ForgotPassword/ForgotPassword.tsx) - [frontend-edusystems · ResetPassword.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Auth/components/ResetPassword/ResetPassword.tsx) - [frontend-edusystems · CreateNewPassword.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Auth/components/CreateNewPassword/CreateNewPassword.tsx) - [backend-edusystems · Authentication/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Authentication/routes/api.php) - [backend-edusystems · ForgotPasswordRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Authentication/Http/Requests/ForgotPasswordRequest.php) - [backend-edusystems · ResetPasswordRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Authentication/Http/Requests/ResetPasswordRequest.php) - [backend-edusystems · AuthService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Authentication/Services/AuthService.php#L288-327) - [backend-edusystems · AppServiceProvider.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Providers/AppServiceProvider.php#L393-397)