Just some code beautification.
This commit is contained in:
@@ -317,8 +317,8 @@ function settings_post(&$a) {
|
|||||||
if((x($_POST,'password')) || (x($_POST,'confirm'))) {
|
if((x($_POST,'password')) || (x($_POST,'confirm'))) {
|
||||||
|
|
||||||
$newpass = $_POST['password'];
|
$newpass = $_POST['password'];
|
||||||
$confirm = $_POST['confirm'];
|
$confirm = $_POST['confirm'];
|
||||||
$oldpass = hash('whirlpool', $_POST['opassword']);
|
$oldpass = hash('whirlpool', $_POST['opassword']);
|
||||||
|
|
||||||
$err = false;
|
$err = false;
|
||||||
if($newpass != $confirm ) {
|
if($newpass != $confirm ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user