diff options
author | Julien Veyssier <julien-nc@posteo.net> | 2023-06-20 12:39:41 +0200 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2023-10-05 14:24:02 +0200 |
commit | 2995b0948f23c75fc145ace6355907f8afcd5c8c (patch) | |
tree | ee65614b272a5beb9e293c60666a36beca22f59d /apps/oauth2/lib | |
parent | 807f173dec7288945fca98548e80e43d3e401d12 (diff) | |
download | nextcloud-server-2995b0948f23c75fc145ace6355907f8afcd5c8c.tar.gz nextcloud-server-2995b0948f23c75fc145ace6355907f8afcd5c8c.zip |
add tests for oauth2 authorization code expiration
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'apps/oauth2/lib')
-rw-r--r-- | apps/oauth2/lib/Controller/OauthApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php index 443db314f2a..d9646363f5f 100644 --- a/apps/oauth2/lib/Controller/OauthApiController.php +++ b/apps/oauth2/lib/Controller/OauthApiController.php @@ -48,7 +48,7 @@ use Psr\Log\LoggerInterface; class OauthApiController extends Controller { // the authorization code expires after 10 minutes - private const AUTHORIZATION_CODE_EXPIRES_AFTER = 10 * 60; + public const AUTHORIZATION_CODE_EXPIRES_AFTER = 10 * 60; public function __construct( string $appName, |