Skip to content

Commit

Permalink
Two Factor Authentication Validation V4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jave Lupango committed Dec 17, 2020
1 parent feca815 commit 8b04ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/auth/login.front.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$login_ret = $c_Auth->fn_Login($conn, $login_username, $login_password);
if ($login_ret == "success")
{
$s_2authF = $c_Select->fn_SingleResponse($conn, "SELECT * FROM users WHERE username=?", "2authfactor", $_SESSION['username']);
$s_2authF = $c_Select->fn_SingleResponse($conn, "SELECT * FROM users WHERE username=?", "2authfactor", $login_username);
if($s_2authF === "0")
{
$_SESSION["username"] = $login_username;
Expand Down

0 comments on commit 8b04ceb

Please sign in to comment.