Complete authentication and profile features
This commit is contained in:
@@ -6,6 +6,8 @@ from pathlib import Path
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
DB_PATH = Path(os.getenv('LINKLOG_DATABASE_PATH', BASE_DIR / 'data' / 'linklog.db'))
|
||||
DB_PATH.parent.mkdir(parents=True, exist_ok=True)
|
||||
AVATARS_DIR = DB_PATH.parent / 'avatars'
|
||||
AVATARS_DIR.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
def hash_password(password: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user