liquid_feedback_frontend
diff app/main/_prefork/10_init.lua @ 1656:3fb752f4afcb
Cleanup of configuration files
| author | bsw |
|---|---|
| date | Sun Feb 14 12:46:39 2021 +0100 (2021-02-14) |
| parents | 1335379a85d2 |
| children | 3c08ec19cc2b |
line diff
1.1 --- a/app/main/_prefork/10_init.lua Fri Feb 12 17:59:21 2021 +0100 1.2 +++ b/app/main/_prefork/10_init.lua Sun Feb 14 12:46:39 2021 +0100 1.3 @@ -126,6 +126,10 @@ 1.4 if not config.oauth2.dynamic_registration_lifetime then 1.5 config.oauth2.dynamic_registration_lifetime = 60 * 60 * 24 1.6 end 1.7 + if config.oauth2.refresh_pause < config.oauth2.refresh_grace_period then 1.8 + print("ERROR: config.auth2.refresh_pause is smaller than config.oauth2.refresh_grace_period") 1.9 + os.exit() 1.10 + end 1.11 end 1.12 1.13 if not config.database then