Skip to content

Commit 6ba1276

Browse files
Updated the return type of the checkAuthenticationDetails() function to be a boolean, not a string.
1 parent 41c81b5 commit 6ba1276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @return bool
2424
* True if the user account was authenticated.
2525
*/
26-
function checkAuthenticationDetails(string $username, string $password, mysqli $mysqli): string
26+
function checkAuthenticationDetails(string $username, string $password, mysqli $mysqli): bool
2727
{
2828
// Make sure the username and password fields have something in them.
2929
if ($username === '' && $password === '') {

0 commit comments

Comments
 (0)