mirror of
https://github.com/AlistGo/alist.git
synced 2025-05-31 21:43:35 +08:00
feat: 2fa/otp support
This commit is contained in:
@ -29,6 +29,7 @@ type User struct {
|
||||
// 8: webdav read
|
||||
// 9: webdav write
|
||||
Permission int32 `json:"permission"`
|
||||
OtpSecret string
|
||||
}
|
||||
|
||||
func (u User) IsGuest() bool {
|
||||
|
Reference in New Issue
Block a user