Merge pull request 'clear code of builtin user' (#30) from clear_builtin_user into master
This commit is contained in:
commit
a6b44b63f3
|
@ -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