mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
enhance: do not save settings from env to app.ini #594
This commit is contained in:
parent
b64f71e13a
commit
4d1adac8c4
2 changed files with 6 additions and 11 deletions
|
@ -82,11 +82,6 @@ func Setup() {
|
|||
if AuthSettings.MaxAttempts <= 0 {
|
||||
AuthSettings.MaxAttempts = 10
|
||||
}
|
||||
|
||||
err = Save()
|
||||
if err != nil {
|
||||
log.Fatalf("settings.Setup: %v\n", err)
|
||||
}
|
||||
}
|
||||
|
||||
func MapTo() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue