mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-26 09:09:55 +00:00
bug fixes and improvements
- aliases are now handled properly in ABCH - removed final escargot leftovers (dev webconsole) - OSCAR etc. logging was not at log level debug - removed leftover debug code
This commit is contained in:
1 parent
4bf878556b
commit
6451bb9426
46 files changed
+307
-541
No files matched your search
@@ -282,7 +282,6 @@ class MSNPCtrlNS(MSNPCtrl):
|
||||
if uuid is not None:
|
||||
self.bs = backend.login(uuid, self.client, BackendEventHandler(self.backend.loop, self), option = LoginOption.BootOthers)
|
||||
token, _ = backend.login_auth_service.create_token('ns/login', [uuid, None], lifetime = 86400)
|
||||
print(f"usr_email during MD5 stage S: {usr_email}")
|
||||
self._auth_final_step(trid, usr_email, token or '', None)
|
||||
return
|
||||
|
||||
@@ -460,7 +459,6 @@ class MSNPCtrlNS(MSNPCtrl):
|
||||
|
||||
bs = self.bs
|
||||
dialect = self.dialect
|
||||
print(f"bs: {bs}")
|
||||
if bs is None:
|
||||
self.send_reply(Err.AuthFail, trid)
|
||||
self.close()
|
||||
@@ -471,9 +469,6 @@ class MSNPCtrlNS(MSNPCtrl):
|
||||
|
||||
usr_email_lower = (self.usr_email or '').lower()
|
||||
alias_email = '{}@crosstalk.im'.format(user.username).lower()
|
||||
print(f"email: {email}")
|
||||
print(f"attempted email: {attempted_email}")
|
||||
print(f"self.usr_email: {self.usr_email}")
|
||||
if usr_email_lower not in (user.email.lower(), alias_email, email.lower()):
|
||||
self.send_reply(Err.AuthFail, trid)
|
||||
self.close()
|
||||
@@ -530,7 +525,6 @@ class MSNPCtrlNS(MSNPCtrl):
|
||||
# self.close()
|
||||
# return
|
||||
else:
|
||||
print(f"args: {args}")
|
||||
self.send_reply('USR', trid, 'OK', email, *args)
|
||||
|
||||
(high, low) = uuid_to_high_low(user.uuid)
|
||||
|
||||
Reference in new issue
Block a user