Merge pull request #7110 from nextcloud/fix-flow-redirect

Theming: theme flow redirection page
This commit is contained in:
Lukas Reschke 2017-11-08 17:45:38 +01:00 committed by GitHub
commit d948626736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -228,7 +228,7 @@ class ClientFlowLoginController extends Controller {
'clientIdentifier' => $clientIdentifier,
'oauthState' => $this->session->get('oauth.state'),
],
'empty'
'guest'
);
}

View File

@ -27,7 +27,7 @@ $urlGenerator = $_['urlGenerator'];
?>
<div class="picker-window">
<p class="info"><?php p($l->t('Redirecting …')) ?></p>
<p><?php p($l->t('Redirecting …')) ?></p>
</div>
<form method="POST" action="<?php p($urlGenerator->linkToRouteAbsolute('core.ClientFlowLogin.generateAppPassword')) ?>">

View File

@ -295,7 +295,7 @@ class ClientFlowLoginControllerTest extends TestCase {
'clientIdentifier' => 'Identifier',
'oauthState' => 'MyOauthStateToken',
],
'empty'
'guest'
);
$this->assertEquals($expected, $this->clientFlowLoginController->redirectPage('MyStateToken', 'Identifier'));
}