Skip to content

Commit bb80915

Browse files
refactor: remove sslmode requirement
See: https://docs.ponyorm.org/api_reference.html#postgresql
1 parent 1d6145c commit bb80915

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ def is_ip_allowed(request: Request):
126126
# user model
127127
class UserInfo(db.Entity):
128128
username = Required(str, unique=True)
129-
# password = Required(str)
130129
hashed_password = Required(str)
131130
email = Optional(str)
132131

@@ -141,7 +140,6 @@ class UserInfo(db.Entity):
141140
host=DB_HOST,
142141
database=DB_NAME,
143142
port=DB_PORT,
144-
sslmode='require'
145143
)
146144

147145
# generate mapping

0 commit comments

Comments
 (0)