diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-07-01 09:39:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 09:39:55 +0200 |
commit | ebedbf157968e40230a102c8f6f17c22990b0aae (patch) | |
tree | 513e05e6acaa9e5d01f2e9c43481dfaabadd3f70 | |
parent | 40165340f53853f3cbb262577a931f8b960c21c6 (diff) | |
parent | 5b1bb3703a69df90e85a5304e9a8ef69f3c12bd5 (diff) | |
download | nextcloud-server-ebedbf157968e40230a102c8f6f17c22990b0aae.tar.gz nextcloud-server-ebedbf157968e40230a102c8f6f17c22990b0aae.zip |
Merge pull request #19646 from firlevapz/bugfix/19400/oauth2-login-opens-new-browser-window
Change OAuth2 redirect link to relative link
-rw-r--r-- | core/templates/loginflow/authpicker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php index 3a471525d80..3b12fbe2f07 100644 --- a/core/templates/loginflow/authpicker.php +++ b/core/templates/loginflow/authpicker.php @@ -39,7 +39,7 @@ $urlGenerator = $_['urlGenerator']; <br/> <p id="redirect-link"> - <a href="<?php p($urlGenerator->linkToRouteAbsolute('core.ClientFlowLogin.grantPage', ['stateToken' => $_['stateToken'], 'clientIdentifier' => $_['clientIdentifier'], 'oauthState' => $_['oauthState']])) ?>"> + <a href="<?php p($urlGenerator->linkToRoute('core.ClientFlowLogin.grantPage', ['stateToken' => $_['stateToken'], 'clientIdentifier' => $_['clientIdentifier'], 'oauthState' => $_['oauthState']])) ?>"> <input type="submit" class="login primary icon-confirm-white" value="<?php p($l->t('Log in')) ?>"> </a> </p> |