fix: fixing login and forgot password
This commit is contained in:
@@ -1,51 +1,53 @@
|
||||
<x-guest-layout>
|
||||
<!-- Session Status -->
|
||||
<div class="row mt-4 gutter-0">
|
||||
<div class="col">
|
||||
<div class="signin-content">
|
||||
<div class="mb-6">
|
||||
<h2 class="mb-2">Sign in with your existing account</h2>
|
||||
<p class="normal">Welcome back! Please enter your credentials to sign in.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- Session Status --}}
|
||||
<x-auth-session-status class="mb-4" :status="session('status')" />
|
||||
|
||||
<form method="POST" action="{{ route('login') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Email Address -->
|
||||
{{-- Email Address --}}
|
||||
<div>
|
||||
<x-input-label for="email" :value="__('Email')" />
|
||||
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus autocomplete="username" />
|
||||
<x-input-error :messages="$errors->get('email')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
{{-- Password --}}
|
||||
<div class="mt-4">
|
||||
<x-input-label for="password" :value="__('Password')" />
|
||||
|
||||
<x-text-input id="password" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password"
|
||||
required autocomplete="current-password" />
|
||||
|
||||
type="password"
|
||||
name="password"
|
||||
required autocomplete="current-password" />
|
||||
<x-input-error :messages="$errors->get('password')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Remember Me -->
|
||||
<div class="block mt-4">
|
||||
<label for="remember_me" class="inline-flex items-center">
|
||||
<input id="remember_me" type="checkbox" class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800" name="remember">
|
||||
<span class="ml-2 text-sm text-gray-600 dark:text-gray-400">{{ __('Remember me') }}</span>
|
||||
{{-- Remember Me --}}
|
||||
<div class="block mt-4 form-check">
|
||||
<input id="remember_me" type="checkbox" class="form-check-input" name="remember">
|
||||
<label for="remember_me" class="form-check-label">
|
||||
{{ __('Remember me') }}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4 mb-4">
|
||||
<div class="justify-content-end mt-4 mb-4">
|
||||
@if (Route::has('password.request'))
|
||||
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('password.request') }}">
|
||||
<a class="" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your password?') }}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
<x-primary-button class="ml-3 btn btn-gradient" style="background:#ff512f;">
|
||||
<span>{{ __('Log in') }}</span>
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
<div class="flex items-center justify-center mt-4 text-grey-600 text-sm dark:text-grey-400">
|
||||
Not registered yet? <a href="/register" class="ml-3 underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800">Register Now</a>
|
||||
<hr class="mb-4">
|
||||
<div class="">
|
||||
Not registered yet? <a href="/register" class="">Register Now</a>
|
||||
</div>
|
||||
</x-guest-layout>
|
||||
|
||||
Reference in New Issue
Block a user