2010-12-02 23:34:41 +00:00
|
|
|
<?php
|
2017-08-10 16:50:09 -04:00
|
|
|
|
2019-04-15 14:02:16 -04:00
|
|
|
use ProcessMaker\BusinessModel\User;
|
2010-12-02 23:34:41 +00:00
|
|
|
|
2019-04-15 14:02:16 -04:00
|
|
|
$user = new User();
|
|
|
|
|
$currentUser = $user->changePassword($_SESSION['USER_LOGGED'], $_POST['form']['USR_PASSWORD'], isset($_POST['form']['USER_LANG']) ? $_POST['form']['USER_LANG'] : "");
|
|
|
|
|
G::header('Location: ' . $currentUser["__REDIRECT_PATH__"]);
|