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 ?? '-',
|
||||
));
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ async function login(event) {
|
||||
id="username"
|
||||
type="text"
|
||||
name="username"
|
||||
placeholder="+99365999990 {{ __('or') }} ulanyjy_ady"
|
||||
placeholder="65999990 {{ __('or') }} ulanyjy_ady"
|
||||
autofocus=""
|
||||
value="{{ old('username') }}"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user