Skip to main content

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​

  1. On the sign-in page, click Forgot password?.
  2. Enter your username or email address and click Send link.
  3. Open the email and click Choose a new password (the link is valid once for 30 minutes).
  4. Enter your new password twice. torq signs you out on all devices and sends a confirmation email that the password was changed.
  5. 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.

Didn't receive an email?

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.0 start 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:

  1. SMTP is configured and enabled under Settings → Email server (or via TORQ_SMTP_* environment variables).
  2. TORQ_BASE_URL is set (links always use TORQ_BASE_URL, never the incoming Host header).
  3. 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.

SafeguardBehavior
Rate limitsMaximum 3 reset emails per account per hour and 10 per device per hour; link guessing is throttled like failed sign-ins
Token storageReset 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)
InvalidationA new request, password change, email change, or account disable immediately invalidates open links
ExclusionsDisabled accounts and accounts without a confirmed email receive no email
Audit logSettings → Email server lists reset, confirmation, and notice deliveries with their status
Demo mode

Password reset is disabled on the public demo.