1
0

feat(metrics): add active link share logins

This commit is contained in:
kolaente
2023-12-03 15:12:43 +01:00
parent 8a3f16fcfb
commit 0ce110fa52
5 changed files with 87 additions and 51 deletions

View File

@ -146,7 +146,7 @@ type ErrNoPasswordResetToken struct {
}
func (err ErrNoPasswordResetToken) Error() string {
return fmt.Sprintf("No token to reset a password [UserID: %d]", err.UserID)
return fmt.Sprintf("No token to reset a password [ID: %d]", err.UserID)
}
// ErrCodeNoPasswordResetToken holds the unique world-error code of this error
@ -237,7 +237,7 @@ type ErrEmailNotConfirmed struct {
}
func (err ErrEmailNotConfirmed) Error() string {
return fmt.Sprintf("Email is not confirmed [UserID: %d]", err.UserID)
return fmt.Sprintf("Email is not confirmed [ID: %d]", err.UserID)
}
// ErrCodeEmailNotConfirmed holds the unique world-error code of this error