mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-11 06:30:21 +00:00
@@ -318,6 +318,10 @@ func InitResources() error {
|
||||
common.FatalLog("failed to initialize authorization: " + err.Error())
|
||||
return err
|
||||
}
|
||||
if err = model.InitPasswordEncryption(); err != nil {
|
||||
common.FatalLog("failed to initialize password encryption: " + err.Error())
|
||||
return err
|
||||
}
|
||||
|
||||
model.CheckSetup()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user