Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCommonPassword = xerror.New(xerror.KindInvalidInput, "PASSWORD_TOO_COMMON", "Password is too common").
WithPublicDetail("Choose a less common password.")
ErrCommonPassword explains a blocklist rejection without echoing the password.
Functions ¶
func CheckCommon ¶
CheckCommon checks a new password without changing what the account will hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.