lib/config: Accept pre-hashed password (fixes #9123) (#9124)

This commit is contained in:
Jakob Borg
2023-09-24 19:23:49 +02:00
committed by GitHub
parent 19bbf4f6bf
commit 6ed9c0c34c
5 changed files with 32 additions and 9 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ var guiCfg config.GUIConfiguration
func init() {
guiCfg.User = "user"
guiCfg.HashAndSetPassword("pass")
guiCfg.SetPassword("pass")
}
func TestStaticAuthOK(t *testing.T) {