Commit 2bc57d85 by Torkel Ödegaard

fix: set lastSeenAt date when creating users to then years in past insteasd of…

fix: set lastSeenAt date when creating users to then years in past insteasd of empty date, fixes #9260
parent 71a839de
......@@ -96,6 +96,7 @@ func CreateUser(cmd *m.CreateUserCommand) error {
EmailVerified: cmd.EmailVerified,
Created: time.Now(),
Updated: time.Now(),
LastSeenAt: time.Now().AddDate(-10, 0, 0),
}
if len(cmd.Password) > 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment