clear code of builtin user
This commit is contained in:
parent
1b5b9444b7
commit
ce4a056efa
|
@ -516,13 +516,6 @@ func (module *Module) initialize(w http.ResponseWriter, r *http.Request, ps http
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//disable builtin auth
|
|
||||||
err=api.DisableBuiltinUserAdmin()
|
|
||||||
if err!=nil{
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
err = keystore.SetValue("SYSTEM_CLUSTER_PASS", []byte(cfg.BasicAuth.Password))
|
err = keystore.SetValue("SYSTEM_CLUSTER_PASS", []byte(cfg.BasicAuth.Password))
|
||||||
if err!=nil{
|
if err!=nil{
|
||||||
|
|
Loading…
Reference in New Issue