Skip to content

Commit 6eb53ac

Browse files
emontytechknowlogick
authored andcommitted
Fix documentation on Oauth2.Enable flag (#7011)
* Fix documentation on Oauth2.Enable flag The docs list this as ENABLED, but in the source code it's ENABLE, meaning following the docs leads to confusion. * Update sample config for oauth2.ENABLE
1 parent 0d69dfb commit 6eb53ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom/conf/app.ini.sample

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ DEFAULT_MAX_BLOB_SIZE = 10485760
698698

699699
[oauth2]
700700
; Enables OAuth2 provider
701-
ENABLED = true
701+
ENABLE = true
702702
; Lifetime of an OAuth2 access token in seconds
703703
ACCESS_TOKEN_EXPIRATION_TIME=3600
704704
; Lifetime of an OAuth2 access token in hours

docs/content/doc/advanced/config-cheat-sheet.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
419419

420420
## OAuth2 (`oauth2`)
421421

422-
- `ENABLED`: **true**: Enables OAuth2 provider.
422+
- `ENABLE`: **true**: Enables OAuth2 provider.
423423
- `ACCESS_TOKEN_EXPIRATION_TIME`: **3600**: Lifetime of an OAuth2 access token in seconds
424424
- `REFRESH_TOKEN_EXPIRATION_TIME`: **730**: Lifetime of an OAuth2 access token in hours
425425
- `INVALIDATE_REFRESH_TOKEN`: **false**: Check if refresh token got already used

0 commit comments

Comments
 (0)