feat: Implement DNS management with dedicated models, repositories, requests, controllers, and services, while refactoring authentication by removing Passport and Sanctum.
This commit is contained in:
@@ -61,14 +61,14 @@ if (!function_exists('format_day')) {
|
||||
if (!function_exists('customer')) {
|
||||
function customer()
|
||||
{
|
||||
return Auth::guard('users')->user();
|
||||
return Auth::guard('client')->user();
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('user')) {
|
||||
function user()
|
||||
{
|
||||
return Auth::guard('users')->user();
|
||||
return Auth::guard('client')->user();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user