mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Worked on login remember cookie, and redirect after login
This commit is contained in:
@@ -17,6 +17,7 @@ type User struct {
|
||||
Login string
|
||||
Password string
|
||||
Salt string
|
||||
Rands string
|
||||
Company string
|
||||
|
||||
IsAdmin bool
|
||||
@@ -36,6 +37,7 @@ type CreateUserCommand struct {
|
||||
Company string `json:"compay"`
|
||||
Password string `json:"password" binding:"Required"`
|
||||
Salt string `json:"-"`
|
||||
Rands string `json:"-"`
|
||||
IsAdmin bool `json:"-"`
|
||||
|
||||
Result User `json:"-"`
|
||||
|
||||
Reference in New Issue
Block a user