mirror of
https://github.com/openmax-server/server.git
synced 2026-06-18 17:08:26 +03:00
MAX & TT: теперь в качестве страны локации используется настоящая страна пользователя, а также зафиксировал версии библиотек в зависимостях
This commit is contained in:
@@ -82,7 +82,7 @@ class TamTamWS:
|
||||
if not self.auth_rate_limiter.is_allowed(address[0]):
|
||||
await self.processors._send_error(seq, self.opcodes.AUTH_CONFIRM, self.processors.error_types.RATE_LIMITED, websocket)
|
||||
else:
|
||||
await self.processors.auth_confirm(payload, seq, websocket, deviceType, deviceName)
|
||||
await self.processors.auth_confirm(payload, seq, websocket, deviceType, deviceName, address[0])
|
||||
case self.opcodes.LOGIN:
|
||||
if not self.auth_rate_limiter.is_allowed(address[0]):
|
||||
await self.processors._send_error(seq, self.opcodes.LOGIN, self.processors.error_types.RATE_LIMITED, websocket)
|
||||
|
||||
Reference in New Issue
Block a user