Diagram Desk

Password reset flowchart

Resetting a forgotten password with an emailed code that lasts 10 minutes, and a loop until the new password meets the rules.

The diagram

StartEnter account emailEmail a codeEnter the codeCorrect within 10 min?Offer a new codeEnter new password8+ chars with lettersand digits?Show the rulesSave new passwordEndnoyesnoyes
Flowchart · 11 shapes

Reading it step by step

  • 1. Start at 'Start'.
  • 2. 'Enter account email' is an input or output. Next: 'Email a code'.
  • 3. 'Email a code' is a processing step. Next: 'Enter the code'.
  • 4. 'Enter the code' is an input or output. Next: 'Correct within 10 min?'.
  • 5. Decide 'Correct within 10 min?': if 'no', go to 'Offer a new code'; if 'yes', go to 'Enter new password'.
  • 6. 'Offer a new code' is a processing step. Next: 'Email a code'.
  • 7. 'Enter new password' is an input or output. Next: '8+ chars with letters and digits?'.
  • 8. Decide '8+ chars with letters and digits?': if 'no', go to 'Show the rules'; if 'yes', go to 'Save new password'.
  • 9. 'Show the rules' is a processing step. Next: 'Enter new password'.
  • 10. 'Save new password' reads or writes the data store. Next: 'End'.
  • 11. End at 'End'.

Shape by shape

ShapeSymbolConnections
StartTerminator→ Enter account email
Enter account emailInput/output→ Email a code · ← Start
Email a codeProcess→ Enter the code · ← Enter account email, Offer a new code
Enter the codeInput/output→ Correct within 10 min? · ← Email a code
Correct within 10 min?Decision→ Offer a new code(no), Enter new password(yes) · ← Enter the code
Offer a new codeProcess→ Email a code · ← Correct within 10 min?
Enter new passwordInput/output→ 8+ chars with letters and digits? · ← Correct within 10 min?, Show the rules
8+ chars with letters and digits?Decision→ Show the rules(no), Save new password(yes) · ← Enter new password
Show the rulesProcess→ Enter new password · ← 8+ chars with letters and digits?
Save new passwordStored data→ End · ← 8+ chars with letters and digits?
EndTerminator← Save new password

Symbols used here

SymbolMeaning
TerminatorWhere the flow starts or ends; a rounded rectangle.
ProcessOne action such as a calculation; a rectangle.
DecisionA question whose answer picks the next path; a diamond.
Input/outputData comes in or goes out; a parallelogram.
Stored dataReads or writes a database or file; a cylinder.
Flow lineThe order of steps, in the arrow direction.

All flowchart symbols and how to draw

Diagram text

Paste this text into the editor to get the same picture, then change the names to fit your own work.

# Password reset flowchart
flowchart TD
  s(["Start"])
  a[/"Enter account email"/]
  b["Email a code"]
  c[/"Enter the code"/]
  d{"Correct within 10 min?"}
  e["Offer a new code"]
  f[/"Enter new password"/]
  g{"8+ chars with letters and digits?"}
  h["Show the rules"]
  i[("Save new password")]
  z(["End"])
  s --> a
  a --> b
  b --> c
  c --> d
  d -->|no| e
  e --> b
  d -->|yes| f
  f --> g
  g -->|no| h
  h --> f
  g -->|yes| i
  i --> z

More flowchart examples

All SeewolLabs tools