Skip to content

Commit

Permalink
Merge pull request #19646 from firlevapz/bugfix/19400/oauth2-login-op…
Browse files Browse the repository at this point in the history
…ens-new-browser-window

Change OAuth2 redirect link to relative link
  • Loading branch information
nickvergessen authored Jul 1, 2020
2 parents 4016534 + 5b1bb37 commit ebedbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templates/loginflow/authpicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<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>
Expand Down

0 comments on commit ebedbf1

Please sign in to comment.