A colleague forgets their password before a busy morning. The application offers a reset link. What should happen if that link expires, someone requests it repeatedly, or the account is still signed in on another device?

A reset screen is only one part of the answer. Before commissioning a business application with local passwords, agree the recovery boundary, the link lifecycle and the evidence you want at handover. A useful acceptance check follows the account through recovery rather than stopping when an email appears.

This guide turns selected OWASP recommendations into a planning worksheet. It is not a complete authentication design, a security audit or evidence that any particular application is secure.

Decide who owns password recovery

Write down whether people sign in with an application-specific password or through an external identity provider. If the provider owns the password, establish where its recovery process starts and which problems your application support team can actually resolve. Do not promise a local reset button that changes a credential managed elsewhere. This is a scoping recommendation, not a claim about a named provider.

Keep password reset, changing an email address, recovering a lost second factor and responding to a suspected account takeover as separate requirements. OWASP explicitly separates password-reset guidance from MFA recovery and warns that changing a password alone may not restore control of a compromised account.[1]

For a small first version, scope one clear route: a local-password user requests a link through an established email address, chooses a new password and signs in through the usual login process. Treat this as a fictional example to discuss, not an implemented CodeDrawn Digital service.

Specify what the request screen can honestly say

OWASP recommends consistent messages for existing and nonexistent accounts, consistent response timing and controls against excessive automated submissions.[1] The goal is not to turn the reset screen into an account directory or an easy way to flood someone's inbox.

A proposed message is: If an eligible account matches those details, you will receive instructions. Agree this wording with the actual implementation. It should not assert that mail arrived, or that the account exists.

Ask the developer to distinguish request acceptance, mail-provider processing and the user's ability to use a link. A provider accepting a message is not the same observation as a user receiving it. Document what support can inspect without exposing reset secrets.

Repeated requests should have an agreed response. OWASP advises per-account rate limiting or other anti-abuse measures and says not to lock an account merely because a forgot-password request was made.[1] Set actual thresholds with the developer based on the application's risks; this article does not prescribe a universal number.

OWASP recommends securely generated, sufficiently long, securely stored reset identifiers linked to a user, invalidated after use and expiring after an appropriate period.[1] Ask for the chosen expiry and its rationale in the handover rather than accepting the vague phrase secure link.

Record these decisions:

  • What creates a link, and when does its validity period begin?
  • What happens when the same user asks for another link?
  • What does the user see after a link expires or has already been used?
  • Can the link do anything beyond the intended recovery step?
  • Which event consumes it: opening the page or successfully completing the reset?

The last two questions are proposed design clarifications, not claims that OWASP mandates one universal screen sequence. Have the developer explain how the selected behavior avoids unintended use.

For emailed URL tokens, OWASP recommends HTTPS, a trusted reset destination rather than blindly trusting the incoming Host header, and protection against referrer leakage.[1] Ask the developer to inspect those controls. A polished email template does not establish them.

Do not put a real reset link, password or session token in an acceptance report. Use synthetic accounts and redacted evidence.

Agree what happens to sessions after a password reset

OWASP recommends applying the application's normal password policy, notifying the user of the reset without emailing the password, and returning the user to normal login rather than automatically signing them in.[1]

Also decide what happens to existing sessions. The forgot-password guidance recommends offering to invalidate existing sessions or invalidating them automatically.[1] For the fictional application in this worksheet, the proposed requirement is automatic invalidation after a successful reset. That is a deliberately chosen example policy, not a universal claim about every product.

Closing a browser tab is not evidence that the server has invalidated a session. OWASP's session guidance calls for server-side invalidation and discusses reauthentication after account recovery and other risk events.[2] Test a previously signed-in device against a protected resource, not just the appearance of the login page.

Suspected compromise needs a separate response. OWASP's recovery guidance includes reviewing recovery information and MFA methods, invalidating existing sessions and outstanding recovery links, and notifying the user through applicable registered channels.[1] Do not treat this short worksheet as sufficient for privileged, financial or other high-assurance accounts.

Use a password-reset acceptance worksheet

Ask the developer to run these cases in an isolated environment with synthetic accounts and an approved mail test route. Every Actual result below is Not run. These are proposed checks, not penetration-test findings or delivered software.

Password-reset acceptance worksheet — proposed and not run
CaseProposed expectationEvidence to recordActual result
Eligible local-password accountA valid reset permits a new password; normal login then works with it and rejects the old oneBuild, synthetic account reference, reset completion and login outcomes; no credentialsNot run
Unknown accountPublic response does not disclose account existence; timing behavior is checked under stated conditionsCompared messages, response codes and developer's timing/anti-enumeration assessmentNot run
Expired or used linkIt cannot complete another reset; a safe path to request help or another link remainsConfigured expiry, controlled clock conditions and rejection evidenceNot run
Repeated requestsAgreed anti-abuse behavior applies without locking the account solely because reset requests occurredApproved request volume, configured limits and account stateNot run
Second link requestedThe documented multiple-link policy is followed; no assumption about which link remains validRequest order, redacted identifiers and outcomes for each linkNot run
Successful reset with another active sessionUnder this example's automatic-invalidation policy, the old session cannot access a protected resourceSeparate session references and server responses after completionNot run
Mail delay or failureThe interface does not claim receipt; support can distinguish observable processing statesTest-route evidence, failure state and safe recovery instructionsNot run
Lost MFA or inaccessible recovery mailboxThe workflow does not silently bypass the separately agreed recovery checksDocumented escalation route and boundaries; no real account takeover attemptNot run

When these cases are performed, record the application version, identity-provider configuration if relevant, roles, environment, timing conditions and actual results. A single unknown-account comparison cannot prove the absence of enumeration attacks; obtain an appropriate technical assessment. Never change Not run to Passed merely because a proposed outcome sounds sensible.

Ask for a support handover, not just a button

Before sign-off, request a recovery ownership note, the link and session policies, safe support instructions and evidence from the isolated checks. Identify who handles a user who cannot access their established recovery channel. Do not let an undocumented support shortcut become an alternative login system.

Keep this work distinct from application permissions: permissions describe what an authenticated person may do; this checklist concerns how a person regains access and what old access survives. The audit-log checklist can help scope proportionate operational evidence without treating secrets as log data.

Planning an application? Write down who owns login, one recovery scenario and the evidence you need before acceptance. CodeDrawn Digital's project brief helper can help prepare context and request an email draft. It does not confirm that an email app opened, a message was sent or an inquiry was received.

Sources

Primary sources checked on 21 November 2026. These are publisher-maintained OWASP Cheat Sheet Series repository texts, not evidence that an application implements the guidance.

[1] OWASP Forgot Password Cheat Sheet — request privacy, abuse controls, token lifecycle, post-reset sessions and recovery after suspected compromise.

[2] OWASP Session Management Cheat Sheet — server-side session expiration and reauthentication after risk events.