diff options
author | Monty Taylor <mordred@inaugust.com> | 2019-05-21 20:48:34 -0500 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-05-21 21:48:34 -0400 |
commit | 6eb53ac570ab9af51fc9cbd79f1db782edce57e0 (patch) | |
tree | fb8a402071ab43c137bb99f801040efb7e09f7f5 /custom | |
parent | 0d69dfb4ca102186e68227dfca9eea1ce09e445b (diff) | |
download | gitea-6eb53ac570ab9af51fc9cbd79f1db782edce57e0.tar.gz gitea-6eb53ac570ab9af51fc9cbd79f1db782edce57e0.zip |
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
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.ini.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index 599569464c..3ce7268d9d 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -698,7 +698,7 @@ DEFAULT_MAX_BLOB_SIZE = 10485760 [oauth2] ; Enables OAuth2 provider -ENABLED = true +ENABLE = true ; Lifetime of an OAuth2 access token in seconds ACCESS_TOKEN_EXPIRATION_TIME=3600 ; Lifetime of an OAuth2 access token in hours |