update
This commit is contained in:
@@ -157,6 +157,7 @@ abstract class BaseController extends Controller
|
||||
$bypassed = [
|
||||
'/api/auth' => 'POST',
|
||||
'/api/personel/profil' => 'GET', // Allow profile access for QR
|
||||
'/api/personel/drh' => 'GET', // Allow DRH access for QR
|
||||
];
|
||||
|
||||
$this->initHeader();
|
||||
|
||||
@@ -19,9 +19,6 @@ class SuperUserController extends BaseController
|
||||
*/
|
||||
public function auth()
|
||||
{
|
||||
// Debug point
|
||||
echo json_encode(["status" => "reached auth"]); die;
|
||||
|
||||
$inputUsername = $this->post('username');
|
||||
$inputPassword = $this->post('password');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user