I have a else statement I just didn't include it to reduce the amount of lines in the post... I tried removing all of the validation stuff and using the Input class but still no look.Andrew Wayne wrote on Thursday 10th of November 2011:Looking at you're code that means it returned true for authentication, it returned nothing before because your username and password combination was wrong and authentication returned false, you have nothing after your 'if' statement to make it show that a wrong username/password was given.. This isn't a warden issue, just an issue with your code.. You should read through the fuelphp docs first
Aran Wilkinson wrote on Thursday 10th of November 2011:Ok so I removed the Redirect inside the Warden::authenticate if statement and did a simple print statement to check to see whether it was working. It was, so I then did some digging and checked the sign in attempts (sign_in_count - field) in the database itself and found that the number wasn't increasing. I then decided to try the password... and found that with a incorrect password the sign_in_count was incrementing but when I print_r Warden::check() I still get nothing?
Andrew Wayne wrote on Saturday 12th of November 2011:Do the auth tokens match? The session and db token? Can you post the full code in your controller action
Andrew Wayne wrote on Monday 31st of October 2011:yea im fixing this issue with the next commit, there's an issue with namespaces and directory names in windows and unix systems
thanks
Andrew Wayne wrote on Sunday 13th of November 2011:I'm not getting any errors using your code, must be something else in your environment, try do a Warden::logout(true) then logging in again
It looks like you're new here. If you want to get involved, click one of these buttons!