Browse Source
Merge pull request #19646 from firlevapz/bugfix/19400/oauth2-login-opens-new-browser-window
Change OAuth2 redirect link to relative link
pull/21439/head
Joas Schilling
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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> |
|
|
|
|