Blocked users/canceled authorisation still log-in

Joined: December 24th, 2014, 8:52 pm

January 28th, 2016, 5:19 pm


i use Tapatalk 1.3.1 + Kunena 3.0.7 and i had this issue testing Tapatalk app on Windows 8.1. Blocked users or canceled authorization via onUserAuthorisation event still are able to login.

Here is my plugin code that check if user is blocked or he can access forum .

In this case Joomla return instead of false a Joomla Exception and login function in file MbqRdEtUser.php return true. I've changed script to use strict comparison and it works on login

My question is how can i restrict access to forum via Tapatalk app for users that are already logged-in and meanwhile was blocked? They can still browse forum till next login. I tried any event hooks to perform an app->logout but it won't help. I tried to send always header('Mobiquo_is_login: false') but it has no effect. Also i've tried to always send false on hasLogin with no success.

P.S. Also it would be nice to send customized message instead of "Username and password do not match or you do not have an account yet."