Revize cbd239c6
Přidáno uživatelem Matěj Zeman před asi 2 roky(ů)
server/sql_app/main.py | ||
---|---|---|
12 | 12 |
from sql_app.api.auth import auth |
13 | 13 |
from sql_app.api.ld_logs_web import ldlogs_web |
14 | 14 |
from sql_app.api.bodydevices_web import body_device_web |
15 |
from sql_app.api.users_web import users |
|
15 | 16 |
from fastapi import FastAPI |
16 | 17 |
|
17 | 18 |
|
... | ... | |
32 | 33 |
app.include_router(usblogs_web) |
33 | 34 |
app.include_router(ldlogs_web) |
34 | 35 |
app.include_router(body_device_web) |
36 |
app.include_router(users) |
|
35 | 37 |
app.include_router(auth) |
36 | 38 |
|
37 | 39 |
''' |
Také k dispozici: Unified diff
Added signup and users table in database. Passwords are hashed. Added view for changing users roles.