Skip to content

Commit 188bccf

Browse files
authored
Merge pull request #905 from nextcloud/fix/904/default-redirecturl
fix(Controller): make redirectUrl optional
2 parents 236c8de + a622606 commit 188bccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Controller/SAMLController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ public function genericError(string $message): Http\TemplateResponse {
539539
* @NoCSRFRequired
540540
* @OnlyUnauthenticatedUsers
541541
*/
542-
public function selectUserBackEnd(string $redirectUrl): Http\TemplateResponse {
542+
public function selectUserBackEnd(string $redirectUrl = ''): Http\TemplateResponse {
543543
$attributes = ['loginUrls' => []];
544544

545545
if ($this->samlSettings->allowMultipleUserBackEnds()) {

0 commit comments

Comments
 (0)