PMCORE-2567 Can not create a new user

This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-12-18 00:20:45 -04:00
parent fd17dd2c24
commit f360956364
4 changed files with 4 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ if (isset($_REQUEST['userInterface']) && $_REQUEST['userInterface'] === "v2") {
$html = file_get_contents(PATH_HTML . "lib/userPersonalInformation/index.html");
$html = str_replace("var USR_UID='';", "var USR_UID='{$_GET['USR_UID']}';", $html);
$html = str_replace("translation.en.js", "translation.{$lang}.js", $html);
$html = str_replace("csrfToken", csrfToken(), $html);
echo $html;
exit();
}

View File

@@ -10,6 +10,7 @@ if (isset($_REQUEST['userInterface']) && $_REQUEST['userInterface'] === "v2") {
$html = file_get_contents(PATH_HOME . "public_html/lib/userPersonalInformation/index.html");
$html = str_replace("translation.en.js", "translation.{$lang}.js", $html);
$html = str_replace("csrfToken", csrfToken(), $html);
echo $html;
exit();
}