MailResendCacheKey returns the key used for caching mail resend.
(userID int64)
| 133 | |
| 134 | // MailResendCacheKey returns the key used for caching mail resend. |
| 135 | func MailResendCacheKey(userID int64) string { |
| 136 | return fmt.Sprintf("mailResend::%d", userID) |
| 137 | } |
| 138 | |
| 139 | // TwoFactorCacheKey returns the key used for caching two factor passcode. |
| 140 | func TwoFactorCacheKey(userID int64, passcode string) string { |
no outgoing calls