support login with 2fa
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package models
|
||||
|
||||
type AuthResponse struct {
|
||||
Token string `json:"token"`
|
||||
Need2FA bool `json:"need2FA"`
|
||||
}
|
||||
Reference in New Issue
Block a user