fixup! fix(Authentication): correctly catch uniq constraint on token insert

fix/auth-token-uniq-constraint-violation-handling
Grigorii K. Shartsev 2 weeks ago
parent 131dbafa5b
commit 72a2662725

@ -55,6 +55,7 @@ class Manager implements IProvider, OCPIProvider {
* @param int $type token type
* @param int $remember whether the session token should be used for remember-me
* @return OCPIToken
* @throws Exception
*/
public function generateToken(string $token,
string $uid,

Loading…
Cancel
Save