Skip to content

Commit

Permalink
Update login.php
Browse files Browse the repository at this point in the history
remove whitespaces
  • Loading branch information
deepend-tildeclub authored Jan 30, 2024
1 parent d7fe2b3 commit 32a457a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
$_SESSION['token'] = $token;
$_SESSION['btUsername'] = $memberInfo['username'];
$_SESSION['btPassword'] = $memberInfo['password']; // Storing password in session is generally not recommended

// Update member info
$newLastLogin = time();
$newTimesLoggedIn = $memberInfo['timesloggedin'] + 1;
Expand All @@ -70,7 +70,7 @@
exit;
}
}

$fail = true;
$_POST['submit'] = false;
}
Expand Down

0 comments on commit 32a457a

Please sign in to comment.