Theming: theme flow redirection page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
497cd7fa4e
commit
cd1bfea8c4
|
@ -228,7 +228,7 @@ class ClientFlowLoginController extends Controller {
|
||||||
'clientIdentifier' => $clientIdentifier,
|
'clientIdentifier' => $clientIdentifier,
|
||||||
'oauthState' => $this->session->get('oauth.state'),
|
'oauthState' => $this->session->get('oauth.state'),
|
||||||
],
|
],
|
||||||
'empty'
|
'guest'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ $urlGenerator = $_['urlGenerator'];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="picker-window">
|
<div class="picker-window">
|
||||||
<p class="info"><?php p($l->t('Redirecting …')) ?></p>
|
<p><?php p($l->t('Redirecting …')) ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form method="POST" action="<?php p($urlGenerator->linkToRouteAbsolute('core.ClientFlowLogin.generateAppPassword')) ?>">
|
<form method="POST" action="<?php p($urlGenerator->linkToRouteAbsolute('core.ClientFlowLogin.generateAppPassword')) ?>">
|
||||||
|
|
|
@ -295,7 +295,7 @@ class ClientFlowLoginControllerTest extends TestCase {
|
||||||
'clientIdentifier' => 'Identifier',
|
'clientIdentifier' => 'Identifier',
|
||||||
'oauthState' => 'MyOauthStateToken',
|
'oauthState' => 'MyOauthStateToken',
|
||||||
],
|
],
|
||||||
'empty'
|
'guest'
|
||||||
);
|
);
|
||||||
$this->assertEquals($expected, $this->clientFlowLoginController->redirectPage('MyStateToken', 'Identifier'));
|
$this->assertEquals($expected, $this->clientFlowLoginController->redirectPage('MyStateToken', 'Identifier'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue