Refactor middleware
This commit is contained in:
@@ -54,10 +54,6 @@ class ApiOptionalAuthenticate
|
||||
} catch (ModelNotFoundException $e) {
|
||||
//
|
||||
}
|
||||
} elseif ($request->getUser()) {
|
||||
if ($this->auth->onceBasic() !== null) {
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user