mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user