keep database password from preseeded configuration file during installation
Signed-off-by: Lukasz Jarosz <lukasz@jarosz.pl>
This commit is contained in:
parent
d84da8fe65
commit
5bfc6e73c2
|
|
@ -60,6 +60,7 @@ func Install(ctx *context.Context) {
|
|||
form.DbUser = models.DbCfg.User
|
||||
form.DbName = models.DbCfg.Name
|
||||
form.DbPath = models.DbCfg.Path
|
||||
form.DbPasswd = models.DbCfg.Passwd
|
||||
|
||||
ctx.Data["CurDbOption"] = "MySQL"
|
||||
switch models.DbCfg.Type {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user