Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePassword ¶
ValidatePassword validates a password according to the following rules: - Minimum length: 8 characters - Must contain at least: 1 uppercase letter, 1 lowercase letter, 1 number, 1 special character - Special characters: !@#$%^&*()-_=+[]{};':"\\|,.<>/? Returns an error with a descriptive message if validation fails.
func ValidateUsername ¶
ValidateUsername validates an admin username according to the following rules: - Minimum length: 8 characters - Allowed characters: alphanumeric, underscore (_), hyphen (-) Returns an error with a descriptive message if validation fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.