mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
Make auth parameters optional
This commit is contained in:
parent
748e4acfb6
commit
aabf0843ab
2 changed files with 28 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ you want to change. Other options will remain unchanged.`,
|
|||
auther, err = d.store.Auth.Get(set.AuthMethod)
|
||||
checkErr(err)
|
||||
// check if there are new flags for existing auth method
|
||||
set.AuthMethod, auther = getAuthentication(flags, set)
|
||||
set.AuthMethod, auther = getAuthentication(flags, set, auther)
|
||||
err = d.store.Auth.Save(auther)
|
||||
checkErr(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue