Skip to content

Commit

Permalink
Corrected the name of the class to verify
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisOuellet committed Aug 1, 2024
1 parent 4307219 commit 69cafec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function __construct(){
$this->Logger = new Logger('router');

// Initiate Auth if class exists
if(class_exists('Auth')) $this->Auth = new Auth();
if(class_exists('LaswitchTech\coreAuth\Auth')) $this->Auth = new Auth();

// Initiate CSRF
$this->CSRF = new CSRF();
Expand Down

0 comments on commit 69cafec

Please sign in to comment.