I should devloping a webpage that is using the same database as one
othr system that is not using CakePHP. I have so far been succsesful
with this, but now I came to the login part.
The user and usergroup table here did not match the CakePHP standard
at all. So the tables I have in the database I have to use is:
a upassword table with columns: username, timecreated, password, and
the primary key here is username and timecreated (so for each user it
can be more than one row if they have changed the password). That I
think I can fix by sorting by timcreated and use limit 1 in the model.
It's also a table uname_ugroup table that is connecting the user to
the usergroups.
Does anyone now how I can use this usertable structure to create a
login functionality with cakephp? I am really stuck now and any hint
and tips to get this working is very usefull.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment