wip
This commit is contained in:
@@ -71,7 +71,7 @@ function isTurkmenIp(string $ip = ''): bool
|
||||
}
|
||||
|
||||
/**
|
||||
* Un mask phone from "+(993)-xx-xx-xx-xx"
|
||||
* Un mask phone
|
||||
*/
|
||||
function unMaskPhone(string|int $phone): string
|
||||
{
|
||||
@@ -147,7 +147,7 @@ function storeAuthEvent(string $name, Request $request): void
|
||||
$request->getPort(),
|
||||
isLocalIp($request->ip())
|
||||
? 'TM'
|
||||
: Location::get($request->ip())?->countryCode ?? 'TM',
|
||||
: Location::get('95.85.34.23')?->countryCode ?? 'TM',
|
||||
$request->user()->id ?? '-',
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user