Password Reset
Available since v1.18.0 · Requires Email notifications and TORQ_BASE_URL.
Users who forget their password can reset it themselves via a one-time email link, without needing an administrator.
Resetting a forgotten password
- On the sign-in page, click Forgot password?.
- Enter your username or email address and click Send link.
- Open the email and click Choose a new password (the link is valid once for
30 minutes). - Enter your new password twice. torq signs you out on all devices and sends a confirmation email that the password was changed.
- Sign in with the new password.
The form always displays the same confirmation message whether or not an account matched, so it cannot be used to enumerate usernames or email addresses. Requesting another reset invalidates any previous unused link.
Check your spam folder, confirm that your email address is verified under Settings → Email notifications, or ask an administrator to set a new password under Settings → Users.
Interaction with two-factor sign-in
Password reset only changes your password. If two-factor sign-in is enabled on your account, you will still be prompted for your authenticator code or passkey after signing in.
Confirming your email address
Reset links are only sent to confirmed email addresses so someone with brief access to an unlocked session cannot hijack an account by swapping the address:
- An address you enter yourself under Settings → Email notifications starts as Not confirmed. torq sends a verification email with a link valid for
24 hours(click Send confirmation email to resend). - An address entered by an administrator under Settings → Users is treated as confirmed immediately (administrators must still confirm their own address).
- Addresses saved before
v1.18.0start as unconfirmed and need to be confirmed once. - Changing a confirmed address sends a notice to the old address and invalidates open reset links.
- Reminder emails do not require a confirmed address.
Administrator setup & safeguards
Self-service password reset is active when:
- SMTP is configured and enabled under Settings → Email server (or via
TORQ_SMTP_*environment variables). TORQ_BASE_URLis set (links always useTORQ_BASE_URL, never the incomingHostheader).- Allow password reset by email is enabled on the Email server page (enabled by default).
Unticking Allow password reset by email hides Forgot password? on the sign-in page.
| Safeguard | Behavior |
|---|---|
| Rate limits | Maximum 3 reset emails per account per hour and 10 per device per hour; link guessing is throttled like failed sign-ins |
| Token storage | Reset tokens are stored only as hashes and never appear in the recent email log; queued links live only in memory (a server restart expires unsent links) |
| Invalidation | A new request, password change, email change, or account disable immediately invalidates open links |
| Exclusions | Disabled accounts and accounts without a confirmed email receive no email |
| Audit log | Settings → Email server lists reset, confirmation, and notice deliveries with their status |
Password reset is disabled on the public demo.