After giving up on the new CakePHP Auth component, I found othAuth.  I
followed the documentation on the Bakery site:

http://bakery.cakephp.org/articles/view/othauth-0-5-documentation

And I have it working just like it should.  The only problem, every
time a user logs in, a new record is created in the users table.

It looks like it is trying to update the last login but is doing an
insert instead.  When the new record is created, the last_login field
has what would be the correct last_login.  The only other information
in the inserted record is the group_id, which it inserts it as '2' and
as of right now I do not have a group with the id of 2 so I see the
following when listing the users with the CakePHP scaffolding:

Project-Id-Version: CakePHP 1.2.x.x POT-Creation-Date: PO-Revision-
Date: 2006-12-23 03:28-0600 Last-Translator: Larry E. Masters <phpnut
(at) gmail (dot) com> Language-Team: CakePHP I18N & I10N Team
<[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain;
charset=utf-8 Content-Transfer-Encoding: 8bit Plural-Forms:
nplurals=2; plural=(n != 1); X-Poedit-Language: English X-Poedit-
Country: UNITED STATES X-Poedit-SourceCharset: utf-8

The only other thing that is noteworthy is though out my application,
I have decided to use members instead of users and roles instead of
groups.  So my table names are slightly different, but I have the
appropriate variables setup in the beforeFilter() method in
app_controller.php.

Can someone please help me out, the othAuth component is working great
except for this one little issue.  Do you think I should switch back
to CakePHP 1.1 Stable?  Right now I have a nightly build.

Thanks for the help!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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