Skip to content
Snippets Groups Projects
Unverified Commit ebedbf15 authored by Joas Schilling's avatar Joas Schilling Committed by GitHub
Browse files

Merge pull request #19646 from firlevapz/bugfix/19400/oauth2-login-opens-new-browser-window

Change OAuth2 redirect link to relative link
parents 40165340 5b1bb370
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ $urlGenerator = $_['urlGenerator']; ...@@ -39,7 +39,7 @@ $urlGenerator = $_['urlGenerator'];
<br/> <br/>
<p id="redirect-link"> <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')) ?>"> <input type="submit" class="login primary icon-confirm-white" value="<?php p($l->t('Log in')) ?>">
</a> </a>
</p> </p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment