mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
Change password fix on TFS 1.0
Thanks to shinctl ( https://github.com/shinctl ) for reporting this bug.
This commit is contained in:
parent
6001abae5d
commit
2ff7dd077c
@ -52,7 +52,7 @@ if (isset($_GET['success']) && empty($_GET['success'])) {
|
||||
} else {
|
||||
if (empty($_POST) === false && empty($errors) === true) {
|
||||
//Posted the form without errors
|
||||
if ($config['TFSVersion'] == 'TFS_02') {
|
||||
if ($config['TFSVersion'] == 'TFS_02' || $config['TFSVersion'] == 'TFS_10') {
|
||||
user_change_password($session_user_id, $_POST['new_password']);
|
||||
} else if ($config['TFSVersion'] == 'TFS_03') {
|
||||
user_change_password03($session_user_id, $_POST['new_password']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user