Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit d2c9dcb

Browse files
authored
Resolve autoload.phtml loading issue efficiently.
1 parent c4d6293 commit d2c9dcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/misc/user.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ function add($username, $sub, $expiry, $secret = null, $password = null)
341341
}
342342
if (token\ModifyUserToken($username, "User", null, null, $secret ?? $_SESSION["app"]) === "failed") {
343343
return "failure";
344+
}
344345
} else {
345346
return 'failure';
346347
}

0 commit comments

Comments
 (0)