Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Verified Commit 2a25aa21 authored by David Beniamine's avatar David Beniamine
Browse files

Revert "Add exp and nbf fields"

This reverts commit 2a0fa794.
parent dfb50e68
......@@ -143,8 +143,6 @@ EOJS;
}
$jwtPayload['dest'] = '/' . \trim($urlPath, '/');
$jwtPayload['iat'] = \time(); // UTC timestamp
$jwtPayload['exp'] = \time() + 10; // UTC timestamp
$jwtPayload['nbf'] = \time() - 10; // UTC timestamp
return JWT::encode($jwtPayload, $this->secret, 'HS256');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment