Authentication: Updates to improve order compatibility.

This commit is contained in:
fusionate
2023-06-27 02:32:11 +00:00
parent dec61c3833
commit d24acf66bf
4 changed files with 70 additions and 50 deletions
@@ -401,7 +401,7 @@ class plugin_totp {
//build the result array
$result["plugin"] = "totp";
$result["domain_name"] = $_SESSION["domain_name"];
$result["username"] = $_SESSION["username"];
$result["username"] = $_SESSION["username"] ?? null;
$result["user_uuid"] = $_SESSION["user_uuid"];
$result["domain_uuid"] = $_SESSION["domain_uuid"];
$result["contact_uuid"] = $_SESSION["contact_uuid"];