mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-26 21:13:12 +00:00
🐛 revert login
This commit is contained in:
1 parent
8200611c9d
commit
b4655503c8
1 file changed
+1
-10
@@ -29,16 +29,7 @@ router.post(
|
||||
{
|
||||
$or: query,
|
||||
},
|
||||
{
|
||||
id: true,
|
||||
user_settings: {
|
||||
locale: true,
|
||||
theme: true,
|
||||
},
|
||||
user_data: {
|
||||
hash: true,
|
||||
},
|
||||
}
|
||||
`user_data.hash id user_settings.locale user_settings.theme`
|
||||
).exec();
|
||||
|
||||
if (!user) {
|
||||
|
||||
Reference in new issue
Block a user