mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-25 08:20:31 +08:00

* feat: logout if there's no activities for a long time * fix: change the implementation of updating LastTime * fix: add logoutMinites to app.conf * fix: change the implementation of judgment statement * fix: use sync.Map to ensure thread safety * fix: syntax standards and Apache headers * fix: change the implementation of obtaining logoutMinutes in app.conf * fix: follow community code standards * fix: <=0 or empty means no restriction * Update logout_filter.go * Update app.conf * Update main.go * Update and rename logout_filter.go to timeout_filter.go * Update app.conf * Update timeout_filter.go * fix: update app.conf --------- Co-authored-by: Yang Luo <hsluoyz@qq.com>
33 lines
885 B
Plaintext
33 lines
885 B
Plaintext
appname = casdoor
|
|
httpport = 8000
|
|
runmode = dev
|
|
copyrequestbody = true
|
|
driverName = mysql
|
|
dataSourceName = root:123456@tcp(localhost:3306)/
|
|
dbName = casdoor
|
|
tableNamePrefix =
|
|
showSql = false
|
|
redisEndpoint =
|
|
defaultStorageProvider =
|
|
isCloudIntranet = false
|
|
authState = "casdoor"
|
|
socks5Proxy = "127.0.0.1:10808"
|
|
verificationCodeTimeout = 10
|
|
initScore = 0
|
|
logPostOnly = true
|
|
isUsernameLowered = false
|
|
origin =
|
|
originFrontend =
|
|
staticBaseUrl = "https://cdn.casbin.org"
|
|
isDemoMode = false
|
|
batchSize = 100
|
|
enableErrorMask = false
|
|
enableGzip = true
|
|
inactiveTimeoutMinutes =
|
|
ldapServerPort = 389
|
|
radiusServerPort = 1812
|
|
radiusSecret = "secret"
|
|
quota = {"organization": -1, "user": -1, "application": -1, "provider": -1}
|
|
logConfig = {"filename": "logs/casdoor.log", "maxdays":99999, "perm":"0770"}
|
|
initDataFile = "./init_data.json"
|
|
frontendBaseDir = "../casdoor" |