crash.software
Projects
Pull Requests
Issues
Builds
gophish
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
gophish
Files
🤬
Sign In
master
ROOT
/
auth
/
auth.go
Search
History
104 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
MinPasswordLength
APIKeyLength
ErrInvalidPassword
ErrPasswordMismatch
ErrReusedPassword
ErrEmptyPassword
ErrPasswordTooShort
GenerateSecureKey
(n int)
:
string
GeneratePasswordHash
(password string)
:
(string, error)
CheckPasswordPolicy
(password string)
:
error
ValidatePassword
(password string, hash string)
:
error
ValidatePasswordChange
(currentHash, newPassword, confirmPassword string)
:
(string, error)
All occurrences
Please wait...
Page is in error, reload to recover