From b711f63c4087b3a9f5617af5b55afe93f414ddf5 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 16 Feb 2021 12:00:36 +0100 Subject: working websocket connection --- api/auth/login.py | 2 +- api/auth/login_token.py | 2 +- api/auth/signup.py | 2 +- api/auth/token.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'api/auth') 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 -- cgit v1.2.3