logo       

Re: Updating information in my storage: msg#00036

php.zend.framework.auth

Subject: Re: Updating information in my storage

I have taken a different approach. Store the id of the user as identity and fetch other information on demand. It turns out that you need only the user id in 90% of the situations.

Regards,
Emil Ivanov

On 18/10/2007, Nikos Dimopoulos <nikos-CNqF/QXuZaJeoWH0uzbU5w@xxxxxxxxxxxxxxxx> wrote:
My approach would be to re-authenticate by asking their password. This will update your authentication objects and it would also prevent unauthorized alteration of information.

Best regards

Nikos Dimopoulos


On 10/18/07, Johannes Schill <johannes80-fsXTdVcv1GcIwnw1HX0dmQ@xxxxxxxxxxxxxxxx > wrote:
Hello,

I'm using Zend_Auth and have a page where my users can change their information (email, name, password etc..). Problem is, when they change the email address (for example) the storage/identity ($auth->getIdentity()) doesnt get updated. Do i need to re-authenticate a user after (s)he updates the information or is there a smarter way?

Cheers,
Johannes



--
The contents of this message may contain confidential or privileged information and is intended solely for the recipient(s). Use or distribution to and by any other party is not authorized. If you are not the intended recipient, copying, distribution or use of the contents of this information is prohibited.



--
My place to share my ideas:
http://vladev.blogspot.com
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise