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
84096b87
ROOT
/
controllers
/
api
/
user.go
Search
History
219 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrEmptyPassword
ErrUsernameTaken
ErrEmptyUsername
ErrEmptyRole
ErrInsufficientPermission
userRequest
Username
:
string
Password
:
string
Role
:
string
*userRequest
Validate
(existingUser *models.User)
:
error
*Server
Users
(w http.ResponseWriter, r *http.Request)
User
(w http.ResponseWriter, r *http.Request)
All occurrences
Please wait...
Page is in error, reload to recover