Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordStrength ¶
CheckPasswordStrength checks for the following:
- min length 7
- uppercase
- lowercase
- number
- special character
func LoginCheck ¶
LoginCheck checks validity of given email/password, and returns token in user exists and password is correct.
func VerifyPassword ¶
VerifyPassword checks plaintext password against a hashed one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.