add comments, code refactor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package models
|
||||
|
||||
// AuthResponse returns a view-object of user authorization
|
||||
type AuthResponse struct {
|
||||
Token string `json:"token"`
|
||||
Need2FA bool `json:"need2FA"`
|
||||
|
||||
Reference in New Issue
Block a user