Skip to content

Commit 76b0d42

Browse files
committed
user pass to be hash with bcrypt
1 parent f6b3958 commit 76b0d42

File tree

4 files changed

+1
-136
lines changed

4 files changed

+1
-136
lines changed

.secrets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
POSTGRES_PASSWORD=secret
2-
FERNET_KEY=Ms1HSn513x0_4WWFBQ3hYPDGAHpKH_pIseC5WwqyO7M=

app/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
class Settings(BaseSettings):
99
asyncpg_url: PostgresDsn = os.getenv("SQL_URL")
10-
secret_key: str = os.getenv("FERNET_KEY")
1110
redis_url: RedisDsn = os.getenv("REDIS_URL")
1211
jwt_algorithm: str = os.getenv("JWT_ALGORITHM")
1312
jwt_expire: int = os.getenv("JWT_EXPIRE")

poetry.lock

Lines changed: 1 addition & 133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pytest-asyncio = "*"
2121
uvloop = "*"
2222
httptools = "*"
2323
rich = "*"
24-
cryptography = "*"
2524
pyjwt = {version = "*", extras = ["cryptography"]}
2625
redis = "*"
2726
passlib = {version = "^1.7.4", extras = ["bcrypt"]}

0 commit comments

Comments
 (0)