Created
September 18, 2019 09:52
-
-
Save jgwhite/75bb069b784dba6353c0ff5a6bd66b0a to your computer and use it in GitHub Desktop.
A login flow for NASA in the 1970s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A login flow for NASA in the 1970s | |
Sign in | |
Submit correct email and password -> 2FA | |
Submit correct badge number and password -> 2FA | |
Submit incorrect email -> Sign in error | |
Submit incorrect badge number -> Sign in error | |
Submit incorrect password -> Sign in error | |
Click forgot -> Forgot | |
Sign in error | |
Submit correct email and password -> 2FA | |
Submit correct badge number and password -> 2FA | |
Submit incorrect email -> Sign in error | |
Submit incorrect badge number -> Sign in error | |
Submit incorrect password -> Sign in error | |
2FA | |
Submit correct code word -> Welcome | |
Submit incorrect code word -> 2FA error | |
Back -> Sign in | |
2FA error | |
Submit correct code word -> Welcome | |
Submit incorrect code word -> 2FA error | |
Back -> Sign in | |
Forgot | |
Click forgot email -> Forgot email or badge number | |
Click forgot badge number -> Forgot email or badge number | |
Click forgot password -> Forgot password | |
Forgot email or badge number | |
Forgot password | |
Submit recognized email -> Check inbox | |
Submit unrecognized email -> Check inbox | |
Submit recognized badge number -> Check inbox | |
Submit unrecognized badge number -> Check inbox | |
Check inbox | |
Welcome |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment