Redux Authentication 1.4a (24th July 2008) |
[eluser]Popcorn[/eluser]
[quote author="patbert" date="1204604416"]Fair enough . I am having a spot of trouble getting the register function to work. http://pastebin.ca/926919 It always seems to fail the registration process. I have no idea if the login ever returns true because I have yet to get a user made lol. What is most odd is that if I am at the registration page, whether I give it valid data or not, when I submit it I end up at the login page. I can't figure out what is making it go there. It should go back to the registration page.[/quote] Code: function register() { I refactored your code. You can setup validation routines like this : Code: $rules['username'] = "required"; If that fails to work can you send me a copy of you config/auth.php and database layout via PM and I'll check it over for you. |
Welcome Guest, Not a member yet? Register Sign In |