Skip to content

Commit

Permalink
Merge pull request #7110 from nextcloud/fix-flow-redirect
Browse files Browse the repository at this point in the history
Theming: theme flow redirection page
  • Loading branch information
LukasReschke authored Nov 8, 2017
2 parents 5651fdf + cd1bfea commit d948626
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/Controller/ClientFlowLoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public function redirectPage($stateToken = '',
'clientIdentifier' => $clientIdentifier,
'oauthState' => $this->session->get('oauth.state'),
],
'empty'
'guest'
);
}

Expand Down
2 changes: 1 addition & 1 deletion core/templates/loginflow/redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
?>

<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')) ?>">
Expand Down
2 changes: 1 addition & 1 deletion tests/Core/Controller/ClientFlowLoginControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public function testRedirectPage() {
'clientIdentifier' => 'Identifier',
'oauthState' => 'MyOauthStateToken',
],
'empty'
'guest'
);
$this->assertEquals($expected, $this->clientFlowLoginController->redirectPage('MyStateToken', 'Identifier'));
}
Expand Down

0 comments on commit d948626

Please sign in to comment.