Add servers
This commit is contained in:
parent
e5b2fb06f3
commit
d09c207c97
|
@ -12,9 +12,9 @@ class TokenData(BaseModel):
|
|||
|
||||
class User(BaseModel):
|
||||
username: str
|
||||
email: Optional[str] = None
|
||||
full_name: Optional[str] = None
|
||||
disabled: Optional[bool] = None
|
||||
servers: list
|
||||
|
||||
|
||||
class UserInDB(User):
|
||||
hashed_password: str
|
|
@ -4,6 +4,7 @@
|
|||
"full_name": "John Doe",
|
||||
"email": "johndoe@example.com",
|
||||
"hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
|
||||
"disabled": "False"
|
||||
"disabled": "False",
|
||||
"servers": ["a", "b"]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue