Small cdn fix

This commit is contained in:
Daniil Gentili 2017-08-04 10:01:54 +02:00
parent 79dc591f4f
commit b0260809cf

View File

@ -414,7 +414,7 @@ trait AuthKeyHandler
} }
} }
throw new \danog\MadelineProto\SecurityException('Auth Failed'); if (strpos($datacenter, 'cdn') === false) throw new \danog\MadelineProto\SecurityException('Auth Failed');
} }
public function check_G($g_a, $p) public function check_G($g_a, $p)