diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index 4482508..e181f67 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -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 ?? '-', )); } diff --git a/resources/views/vendor/nova/pages/login.blade.php b/resources/views/vendor/nova/pages/login.blade.php index a7660e8..070bc9c 100644 --- a/resources/views/vendor/nova/pages/login.blade.php +++ b/resources/views/vendor/nova/pages/login.blade.php @@ -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') }}" >