PMCORE-2567 Can not create a new user
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user