CC-4848: Streaming server passwords should be hidden with dots, once entered
-fixed
This commit is contained in:
parent
9cb4633823
commit
f7e8fd33fd
4 changed files with 60 additions and 4 deletions
|
@ -242,7 +242,14 @@ class Application_Model_StreamSetting
|
|||
$v = $d['enable'] == 1 ? 'true' : 'false';
|
||||
}
|
||||
$v = trim($v);
|
||||
self::saveStreamSetting($keyname, $v);
|
||||
if ($k != 'admin_pass') {
|
||||
self::saveStreamSetting($keyname, $v);
|
||||
/* We use 'xxxxxx' as the admin password placeholder so we
|
||||
* only want to save it when it is a different string
|
||||
*/
|
||||
} elseif ($v != 'xxxxxx') {
|
||||
self::saveStreamSetting($keyname, $v);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue