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
|
function unMaskPhone(string|int $phone): string
|
||||||
{
|
{
|
||||||
@@ -147,7 +147,7 @@ function storeAuthEvent(string $name, Request $request): void
|
|||||||
$request->getPort(),
|
$request->getPort(),
|
||||||
isLocalIp($request->ip())
|
isLocalIp($request->ip())
|
||||||
? 'TM'
|
? 'TM'
|
||||||
: Location::get($request->ip())?->countryCode ?? 'TM',
|
: Location::get('95.85.34.23')?->countryCode ?? 'TM',
|
||||||
$request->user()->id ?? '-',
|
$request->user()->id ?? '-',
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ async function login(event) {
|
|||||||
id="username"
|
id="username"
|
||||||
type="text"
|
type="text"
|
||||||
name="username"
|
name="username"
|
||||||
placeholder="+99365999990 {{ __('or') }} ulanyjy_ady"
|
placeholder="65999990 {{ __('or') }} ulanyjy_ady"
|
||||||
autofocus=""
|
autofocus=""
|
||||||
value="{{ old('username') }}"
|
value="{{ old('username') }}"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user