Compare commits

..

1 commit

Author SHA1 Message Date
Izalia Mae 36d2ae733c Merge branch 'dev' into 'master'
Draft: 0.3.0

See merge request pleroma/relay!57
2024-03-04 20:33:45 +00:00
2 changed files with 2 additions and 1 deletions

View file

@ -89,6 +89,7 @@ textarea {
#container {
width: 1024px;
margin: 0px auto;
height: 100vh;
}
#header {

View file

@ -75,7 +75,7 @@ class Login(View):
if isinstance(data, Response):
return data
with self.database.session(True) as conn:
with self.database.connction(True) as conn:
if not (user := conn.get_user(data['username'])):
return Response.new_error(401, 'User not found', 'json')