Merge branch 'main' into allthebookmarks-com

This commit is contained in:
Joey Kimsey
2025-02-05 06:43:05 -05:00
parent 72cbdc222e
commit da6adc35b0
94 changed files with 329 additions and 189 deletions

View File

@ -4,7 +4,7 @@
*
* This is the user control panel controller.
*
* @version 3.0
* @version 5.0.1
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
@ -31,7 +31,7 @@ use TheTempusProject\Bedrock\Functions\Session;
class Usercp extends Controller {
public function __construct() {
parent::__construct();
if ( !App::$isLoggedIn ) {
if ( ! App::$isLoggedIn ) {
Session::flash( 'notice', 'You must be logged in to view this page!' );
Redirect::home();
}