mirror of
https://github.com/nextcloud/server.git
synced 2026-05-12 16:39:39 -04:00
fix: Fix type for stable27
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
4ba417c11b
commit
f444f83e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -539,7 +539,7 @@ class Session implements IUserSession, Emitter {
|
|||
*
|
||||
* @throws ExpiredTokenException
|
||||
*/
|
||||
private function getTokenFromPassword(string $password): ?\OCP\Authentication\Token\IToken {
|
||||
private function getTokenFromPassword(string $password): ?IToken {
|
||||
try {
|
||||
return $this->tokenProvider->getToken($password);
|
||||
} catch (ExpiredTokenException $e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue