Page MenuHomePhabricator

Persist login instructions onto flow-specific login pages (username/password and LDAP)

Authored by epriestley on Oct 25 2019, 1:07 AM.
Referenced Files
Unknown Object (File)
Wed, Jun 22, 6:19 AM
Unknown Object (File)
Sun, Jun 19, 8:13 AM
Unknown Object (File)
Fri, Jun 17, 9:13 AM
Unknown Object (File)
Fri, Jun 17, 3:40 AM
Unknown Object (File)
Sat, Jun 11, 7:43 PM
Unknown Object (File)
Thu, Jun 9, 3:01 PM
Unknown Object (File)
Mon, Jun 6, 7:55 PM
F6975965: Screen Shot 2019-10-24 at 6.09.30 PM.png
Oct 25 2019, 1:09 AM



Fixes T13433. Currently, "Login Screen Instructions" in "Auth" are shown only on the main login screen. If you enter a bad password or bad LDAP credential set and move to the flow-specific login failure screen (for example, "invalid password"), the instructions vanish.

Instead, persist them. There are reasonable cases where this is highly useful and the cases which spring to mind where this is possibly misleading are fairly easy to fix by making the instructions more specific.

Test Plan
  • Configured login instructions in "Auth".
  • Viewed main login screen, saw instructions.
  • Entered a bad username/password and a bad LDAP credential set, got kicked to workflow sub-pages and still saw instructions (previously: no instructions).
  • Grepped for other callers to buildProviderPageResponse() to look for anything weird, came up empty.

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable