I have this to store persistent data for an authenticated user;
// We're authenticated! Store details.
$identity = $adapter-getResultRowObject();
$authStorage = $auth-getStorage();
$authStorage-write($identity);
I would like to add one extra bit of info to the persistent storage.
On Friday 01 Apr 2011 16:15:34 Steve Rayner wrote:
I have this to store persistent data for an authenticated user;
// We're authenticated! Store details.
$identity = $adapter-getResultRowObject();
$authStorage = $auth-getStorage();
$authStorage-write($identity);
I would
Since you are using Zend_Auth_Adapter_DbTable, and calling
$adapter-getResultRowObject(); .. The resulting object is simply a
stdClass.
If you'd like you can add information to that identity object.
$identity-someProperty = $someValue;
Then write that to the authentication storage medium.
I'm not entirely sure what the point of showing a pre-filled password box is
anyway.
If you're going to assume that the user has the credentials (as you are by
supplying the password for them), then you might as well just stay with that
assumption and not show the password box at all.
Also, if
Hey Fabio,
It appears your around is marked as active. Perhaps a password reset?
-ralph
On 3/7/11 8:04 AM, Fabio Napoleoni wrote:
Same happens to me. Tried to reset password but with no luck. My ZF account
is fabio
Please unlock me.
Thanks.
--
View this message in context: