Skip to content

Commit

Permalink
Revert problematische veranderingen
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanHuisman committed Feb 13, 2025
1 parent e64d01b commit 44c42fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/common/Security/JwtToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function __construct(
parent::__construct($roles);

$this->setUser($user);
$this->setAuthenticated(true);
}

public function getCredentials()
Expand Down
3 changes: 2 additions & 1 deletion lib/common/Security/PrivateTokenToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ public function __construct(UserInterface $user, array $roles = [])
parent::__construct($roles);

$this->setUser($user);
$this->setAuthenticated(true);
}

public function getCredentials(): mixed
public function getCredentials()
{
return '';
}
Expand Down
1 change: 1 addition & 0 deletions lib/common/Security/TemporaryToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function __construct(
parent::__construct($account->getRoles());

$this->setUser($account);
$this->setAuthenticated(true);
}

public function getOriginalToken()
Expand Down

0 comments on commit 44c42fc

Please sign in to comment.