I've two tables. One for normal user:

create table mon_utenti
   id mediumint NOT NULL auto_increment,
   Username varchar(19) NOT NULL,
   Password varchar(10) NOT NULL,
   PRIMARY KEY  (`id`),
);

Another for admin user:
create table `mon_generale` (
  `id` mediumint(9) NOT NULL auto_increment,
  `cDesc` varchar(20) NOT NULL default '',
  `cValore` varchar(100) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `cDesc` (`cDesc`)
);
INSERT INTO `ecdl_generale` (`id`, `cDesc`, `cValore`) VALUES (1,
'Admin', 'admin');
INSERT INTO `ecdl_generale` (`id`, `cDesc`, `cValore`) VALUES (2,
'Pass', 'admin');

Is possible to use Auth component to login fron this two data table?
How?
Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to