Erkanaauth and user authentication |
[eluser]Unknown[/eluser]
Hi, I know I shouldn 't run before I work but even with very little CI knowledge and not much better php know how I have a admin with the ability to email a newsletter, modify pages and add subscribers. The only bit which is causing me issue is getting the admini authentication working. I'm using the library from Erkana: http://www.michaelwales.com/2007/10/erka...n-library/. The form submits but nothing is happening. I know its doing the first function "check_username" but not sure if its doing the second. My controller code is below: Code: function check_username() { and view Code: <?php Apologies if its something basic but any guidance would be appreciated. TIA, Darren
[eluser]Ebot Ndip-Agbor[/eluser]
Never used ErkanaAuth before, but looking at your code I have a question. Quote: If this is one of your controller functions. Then why will you return true Code: if ($this->erkanaauth->try_login(array('username' => $username, 'password' => $password))) { |
Welcome Guest, Not a member yet? Register Sign In |