started with 2fa support
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package models
|
||||
|
||||
type User struct {
|
||||
ID string `json:"id"`
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
Role string `json:"role"`
|
||||
ID string `json:"id"`
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
Role string `json:"role"`
|
||||
TwoFactorEnabled bool `json:"two_factor_enabled"`
|
||||
TwoFactorSecret string `json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user