invite: fix email confirmation jwt

same issue as with auth.go, expiry was a string causing the library to
see it as expired.
This commit is contained in:
Harvey Tindall
2021-08-26 18:39:50 +01:00
parent 1bfec54c93
commit 412fe31da6
3 changed files with 3 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ func migrateEmailStorage(app *appContext) error {
case map[string]interface{}:
return nil
default:
return fmt.Errorf("Email address was type %T, not string: \"%+v\"\n", addr, addr)
return fmt.Errorf("email address was type %T, not string: \"%+v\"\n", addr, addr)
}
}
config, err := ini.Load(app.configPath)