Skip to content

Commit 44c42fc

Browse files
committed
Revert problematische veranderingen
1 parent e64d01b commit 44c42fc

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

lib/common/Security/JwtToken.php

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public function __construct(
2020
parent::__construct($roles);
2121

2222
$this->setUser($user);
23+
$this->setAuthenticated(true);
2324
}
2425

2526
public function getCredentials()

lib/common/Security/PrivateTokenToken.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ public function __construct(UserInterface $user, array $roles = [])
1212
parent::__construct($roles);
1313

1414
$this->setUser($user);
15+
$this->setAuthenticated(true);
1516
}
1617

17-
public function getCredentials(): mixed
18+
public function getCredentials()
1819
{
1920
return '';
2021
}

lib/common/Security/TemporaryToken.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(
2222
parent::__construct($account->getRoles());
2323

2424
$this->setUser($account);
25+
$this->setAuthenticated(true);
2526
}
2627

2728
public function getOriginalToken()

0 commit comments

Comments
 (0)