Homec4science

Modularize generation of supplemental login messages

Authored by epriestley <git@epriestley.com> on Sep 4 2015, 19:34.

Description

Modularize generation of supplemental login messages

Summary:
Ref T9346. This mostly allows us to give users additional advice based on which instance they are trying to log in to in the Phacility cluster.

It's also slightly more flexible than auth.login-message was, and maybe we'll add some more hooks here eventually.

This feels like it's a sidegrade in complexity rather than really an improvement, but not too terrible.

Test Plan:

  • Wrote the custom handler in T9346 to replicate old config functionality.
  • Wrote a smart handler for Phacility that can provide context-sensitive messages based on which OAuth client you're trying to use.

See new message box at top (implementation in next diff):

{F780375}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9346

Differential Revision: https://secure.phabricator.com/D14057

Details

Committed
epriestley <git@epriestley.com>Sep 4 2015, 19:34
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6f372943dbef: Add support for temporary files to `file.allocate`
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH5dccc14bbf46: Modularize generation of supplemental login messages (authored by epriestley <git@epriestley.com>).Sep 4 2015, 19:34