Fix create first login

This commit is contained in:
Deluan
2021-05-02 14:13:17 -04:00
parent e3fe8399c8
commit b8138ebad6
5 changed files with 132 additions and 33 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ func createDefaultUser(ctx context.Context, ds model.DataStore, username, passwo
UserName: username,
Name: strings.Title(username),
Email: "",
Password: password,
NewPassword: password,
IsAdmin: true,
LastLoginAt: &now,
}