mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-03-18 21:50:33 +01:00
accounts: add "extend from previous expiry"
If the expiry time of an expired user is still in the activity log, extending and re-enabling a user with this option checked will extend the expiry from this time, rather than the current time. For #379, i think this is basically what they wanted.
This commit is contained in:
@@ -186,7 +186,11 @@ const (
|
||||
|
||||
IncorrectCaptcha = "captcha incorrect"
|
||||
|
||||
ExtendCreateExpiry = "Extended or created expiry for user \"%s\""
|
||||
ExtendCreateExpiry = "Extended or created expiry for user \"%s\""
|
||||
FoundExistingExpiry = "Found existing expiry key"
|
||||
FoundPreviousExpiryLog = "Found most recent previous expiry in activity log @ %v"
|
||||
ExpiryWouldBeInPast = "Expiry would've been in the past, using current time base"
|
||||
PreviousExpiryNotExpiry = "Last user disable was not an expiry, using current time base"
|
||||
|
||||
UserEmailAdjusted = "Email for user \"%s\" adjusted"
|
||||
UserAdminAdjusted = "Admin state for user \"%s\" set to %t"
|
||||
|
||||
Reference in New Issue
Block a user