mirror of https://github.com/gophish/gophish
Set user last_login time for right mysql working
parent
d2efb18ef1
commit
d2f8d7b6f5
|
@ -212,6 +212,7 @@ func Setup(c *config.Config) error {
|
|||
Role: adminRole,
|
||||
RoleID: adminRole.ID,
|
||||
PasswordChangeRequired: true,
|
||||
LastLogin: time.Now().UTC(),
|
||||
}
|
||||
|
||||
if envToken := os.Getenv(InitialAdminApiToken); envToken != "" {
|
||||
|
|
Loading…
Reference in New Issue