CC-3093: SoundCloud preferences do not have email or password as required fields + firefox auto-fills the password field
Mask the password instead of hiding it
This commit is contained in:
parent
41eeefe427
commit
197997fee7
|
@ -77,8 +77,9 @@ class Application_Form_SoundcloudPreferences extends Zend_Form_SubForm
|
||||||
// which is something we don't want
|
// which is something we don't want
|
||||||
'allowEmpty' => false,
|
'allowEmpty' => false,
|
||||||
'validators' => array(
|
'validators' => array(
|
||||||
new PasswordNotEmpty(array('UploadToSoundcloudOption'=>'1'))
|
new ConditionalNotEmpty(array('UploadToSoundcloudOption'=>'1'))
|
||||||
)
|
),
|
||||||
|
'renderPassword' => true
|
||||||
));
|
));
|
||||||
|
|
||||||
// Add the description element
|
// Add the description element
|
||||||
|
|
Loading…
Reference in New Issue