diff --git a/models/models.go b/models/models.go index 29a68151..f2173812 100644 --- a/models/models.go +++ b/models/models.go @@ -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 != "" {