emreakay / CodeIgniter-Aauth

Authorization, Authentication and User Management library for Codeigniter 2.x and 3.x to make easy user management and permission operations
http://emreakay.com
GNU Lesser General Public License v3.0
393 stars 234 forks source link

Why ban_user when reloggin make error #254

Open ghost opened 4 years ago

ghost commented 4 years ago

u can check it, u ban_user and then login

ikramkhizar commented 4 years ago

The error is like this A PHP Error was encountered Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: libraries/Aauth.php

Line Number: 301

When a user is ban and he tries to login then this error occur please check it.

REJack commented 4 years ago

I've added a fix for this in the master branch.