mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-09 18:08:00 +00:00
Compare commits
2 commits
36d2ae733c
...
aef97dc690
Author | SHA1 | Date | |
---|---|---|---|
aef97dc690 | |||
0e812c012e |
|
@ -89,7 +89,6 @@ textarea {
|
|||
#container {
|
||||
width: 1024px;
|
||||
margin: 0px auto;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
#header {
|
||||
|
|
|
@ -75,7 +75,7 @@ class Login(View):
|
|||
if isinstance(data, Response):
|
||||
return data
|
||||
|
||||
with self.database.connction(True) as conn:
|
||||
with self.database.session(True) as conn:
|
||||
if not (user := conn.get_user(data['username'])):
|
||||
return Response.new_error(401, 'User not found', 'json')
|
||||
|
||||
|
|
Loading…
Reference in a new issue