diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-06 23:09:20 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-08 14:42:36 +0300 |
commit | 177c8972cc138ad759b02dc06a935b2b11e61a1f (patch) | |
tree | 38975c14a8b4b8694475ae70228a13fd2644ad9a /core/routes.php | |
parent | e970e9f7106c094d49fd3ed49244fb073b97e381 (diff) |
Improve login flow
* Add page explaining you are about to grant access
* Show grant access page after login
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 1c7be78bc78..cc1bd34d898 100644 --- a/core/routes.php +++ b/core/routes.php @@ -54,6 +54,7 @@ $application->registerRoutes($this, [ ['name' => 'ClientFlowLogin#showAuthPickerPage', 'url' => '/login/flow', 'verb' => 'GET'], ['name' => 'ClientFlowLogin#redirectPage', 'url' => '/login/flow/redirect', 'verb' => 'GET'], ['name' => 'ClientFlowLogin#generateAppPassword', 'url' => '/login/flow', 'verb' => 'POST'], + ['name' => 'ClientFlowLogin#grantPage', 'url' => '/login/flow/grant', 'verb' => 'GET'], ['name' => 'TwoFactorChallenge#selectChallenge', 'url' => '/login/selectchallenge', 'verb' => 'GET'], ['name' => 'TwoFactorChallenge#showChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'GET'], ['name' => 'TwoFactorChallenge#solveChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'POST'], |