From b57590b32fb914ba0112cc0246a3859bcbf10de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zcan=20O=C4=9Fuz?= Date: Mon, 8 Feb 2021 17:17:51 +0300 Subject: [PATCH 1/2] Add .env to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 56268a6..9edae04 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,5 @@ var/ *test.py trash mongo_data_dir/* -.directory \ No newline at end of file +.directory +.env \ No newline at end of file From 5207e712bffeb4ed6c2f61016a2563055c121ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zcan=20O=C4=9Fuz?= Date: Mon, 8 Feb 2021 17:25:35 +0300 Subject: [PATCH 2/2] Fix typo at AuthMethods.py --- internal_lib/{AuthMethots.py => AuthMethods.py} | 0 main.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename internal_lib/{AuthMethots.py => AuthMethods.py} (100%) diff --git a/internal_lib/AuthMethots.py b/internal_lib/AuthMethods.py similarity index 100% rename from internal_lib/AuthMethots.py rename to internal_lib/AuthMethods.py diff --git a/main.py b/main.py index 428489d..c2f618e 100644 --- a/main.py +++ b/main.py @@ -7,7 +7,7 @@ from werkzeug.security import check_password_hash from os import environ, path from dotenv import load_dotenv -from internal_lib.AuthMethots import AuthJWT +from internal_lib.AuthMethods import AuthJWT from models.Group import Group from models.Union import Union from models.User import User