Redux Authentication 1.4a (24th July 2008) |
[eluser]Popcorn[/eluser]
kvait spotted and fixed both bugs. The redux login method is actually returning the correct result and still logs you in, but the switch statement is buggered. Type casting will fix it as stated but I will try to come up with a more elegant solution. Without Type Casting http://img137.imageshack.us/img137/9393/capturecb6.jpg With Type Casting http://img140.imageshack.us/img140/8527/capture1iy8.jpg For now to fix the problem Code: switch ((string)$redux) To get the banned message you just have to echo out Code: $this->session->flashdata('login'); Should end up with something like this : http://img140.imageshack.us/img140/7132/capture3gj1.jpg Note : It's only available after a refresh. If you can't wait for me to roll out a fix add this line to the _login method Code: $users_tbl.'.banned_id,'. I'll get an update ASAP. Hold tight. |
Welcome Guest, Not a member yet? Register Sign In |