[fw-general] strange form behaviour when using recpatcha and submitting via ajax

2010-06-23 Thread tonystamp
Hello I'm having some strange behaviour with a form containing 3 simple elements (input box, recaptcha element and submit button) that is submitted via an ajax call. If the values of either the input box or the recaptcha are wrong the form is briefly displayed with the error messages before the

[fw-general] Zend_Auth: Manually setting one identity

2010-06-23 Thread robert mena
Hi, I am using Zend_Auth to authenticate my users in an application. I was requested to provide a 'god' mode where the admin will enter the username and a special password and login as that user. No matter how I dislike the idea I have to implement it. So In my view if the password is the

Re: [fw-general] Zend_Auth: Manually setting one identity

2010-06-23 Thread Hector Virgen
So you're saying an admin goes to the login page, enters a user's username (ex. johndoe) and the god mode password (ex. g0dm0d3), your application should log him in as that user? In that case, I would check the password field first -- if it matches the god mode password, you can inject the

Re: [fw-general] Zend_Auth: Manually setting one identity

2010-06-23 Thread Andrew Ballard
On Wed, Jun 23, 2010 at 1:21 PM, robert mena robert.m...@gmail.com wrote: Hi, I am using Zend_Auth to authenticate my users in an application.  I was requested to provide a 'god' mode where the admin will enter the username and a special password and  login as that user. No matter how I