mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-29 21:24:35 -04:00
Fix settings not being loaded at CLI (#26402)
Closes #25898 The problem was that the default settings weren't being loaded --------- Signed-off-by: cassiozareck <cassiomilczareck@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit 1e2c8eb494ff5b8378653db5fed876d824ebca6f) Conflicts: modules/setting/indexer.go trivial context conflict
This commit is contained in:
parent
bc64b6f004
commit
9b2f38261b
7 changed files with 16 additions and 13 deletions
|
@ -73,6 +73,4 @@ func loadSessionFrom(rootCfg ConfigProvider) {
|
|||
SessionConfig.ProviderConfig = string(shadowConfig)
|
||||
SessionConfig.OriginalProvider = SessionConfig.Provider
|
||||
SessionConfig.Provider = "VirtualSession"
|
||||
|
||||
log.Info("Session Service Enabled")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue