Se arregla code style PMUSER.
This commit is contained in:
@@ -223,7 +223,6 @@ class User
|
|||||||
if ($form['USR_NEW_PASS'] != $form['USR_CNF_PASS']) {
|
if ($form['USR_NEW_PASS'] != $form['USR_CNF_PASS']) {
|
||||||
throw new \Exception('`usr_new_pass or usr_cnf_pass`. '.\G::LoadTranslation('ID_NEW_PASS_SAME_OLD_PASS'));
|
throw new \Exception('`usr_new_pass or usr_cnf_pass`. '.\G::LoadTranslation('ID_NEW_PASS_SAME_OLD_PASS'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$form['USR_PASSWORD'] = md5($form['USR_NEW_PASS']);
|
$form['USR_PASSWORD'] = md5($form['USR_NEW_PASS']);
|
||||||
if (!isset($form['USR_CITY'])) {
|
if (!isset($form['USR_CITY'])) {
|
||||||
$form['USR_CITY'] = '';
|
$form['USR_CITY'] = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user