diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-16 12:00:36 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-16 12:00:36 +0100 |
commit | b711f63c4087b3a9f5617af5b55afe93f414ddf5 (patch) | |
tree | a4eddad86c3024481b5bf64f6663d3143c0ab3d5 /api/auth | |
parent | 64f53e70901069aab8344e24ebf0abe603f40ec3 (diff) |
working websocket connection
Diffstat (limited to 'api/auth')
-rw-r--r-- | api/auth/login.py | 2 | ||||
-rw-r--r-- | api/auth/login_token.py | 2 | ||||
-rw-r--r-- | api/auth/signup.py | 2 | ||||
-rw-r--r-- | api/auth/token.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/api/auth/login.py b/api/auth/login.py index e686b67..ae6ca96 100644 --- a/api/auth/login.py +++ b/api/auth/login.py @@ -1,5 +1,5 @@ from flask import Blueprint, request, make_response -from main import cursor +from db import cursor import auth.token as token import passwords diff --git a/api/auth/login_token.py b/api/auth/login_token.py index 1004543..5812189 100644 --- a/api/auth/login_token.py +++ b/api/auth/login_token.py @@ -1,5 +1,5 @@ from flask import Blueprint, request -from main import cursor +from db import cursor from auth.token import validate_token, hash_token def token_login(token): diff --git a/api/auth/signup.py b/api/auth/signup.py index e77f82d..69c786f 100644 --- a/api/auth/signup.py +++ b/api/auth/signup.py @@ -1,5 +1,5 @@ from flask import Blueprint, request, make_response -from main import cursor, connection +from db import cursor, connection from randid import new_uuid import auth.token as token import passwords diff --git a/api/auth/token.py b/api/auth/token.py index a03d685..0085187 100644 --- a/api/auth/token.py +++ b/api/auth/token.py @@ -1,4 +1,4 @@ -from main import cursor, connection +from db import cursor, connection import hashlib import secrets import json |