mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Protect the API and add alternative authentication endpoint.
This commit is contained in:
1 parent
e28452f09a
commit
0465cb87f6
7 files changed
+199
-80
No files matched your search
@@ -56,3 +56,9 @@ class User(DateTimeModelMixin, UserBase):
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
||||
|
||||
|
||||
class Credentials(BaseModel):
|
||||
|
||||
username: str
|
||||
password: str
|
||||
Reference in new issue
Block a user