SF Bug #3141226 - Password change/encrypted upon modification
This commit is contained in:
parent
04e41f7272
commit
4cf6b17ba3
@ -288,7 +288,7 @@ class PageRender extends Visitor {
|
||||
$vals = $this->get('AutoPost',$attribute,$i);
|
||||
}
|
||||
|
||||
if (! $vals)
|
||||
if (! $vals || $vals == $attribute->getValues())
|
||||
return;
|
||||
|
||||
$attribute->clearValue();
|
||||
|
@ -2082,8 +2082,8 @@ function password_types() {
|
||||
debug_log('Entered (%%)',1,0,__FILE__,__LINE__,__METHOD__,$fargs);
|
||||
|
||||
return array(
|
||||
'blowfish'=>'blowfish',
|
||||
''=>'clear',
|
||||
'blowfish'=>'blowfish',
|
||||
'crypt'=>'crypt',
|
||||
'ext_des'=>'ext_des',
|
||||
'md5'=>'md5',
|
||||
|
Loading…
Reference in New Issue
Block a user