Skip to content

Commit

Permalink
Add password confirmation screen
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Oct 8, 2019
1 parent 77e8c14 commit 3125b77
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions resources/views/frontend/auth/passwords/confirm.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
@extends('layouts.auth')

@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Confirm Password') }}</div>

<div class="card-body">
{{ __('Please confirm your password before continuing.') }}
{{ __('We won\'t ask for your password again for a few hours.') }}

<form method="POST" action="{{ route('password.confirm') }}">
@csrf

<div class="form-group row">
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>

<div class="col-md-6">
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror"
name="password" required autocomplete="current-password">

@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>

<div class="form-group row mb-0">
<div class="col-md-8 offset-md-4">
<button type="submit" class="btn btn-primary">
{{ __('Confirm Password') }}
</button>

@if (Route::has('password.request'))
<a class="btn btn-link" href="{{ route('password.request') }}">
{{ __('Forgot Your Password?') }}
</a>
@endif
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

0 comments on commit 3125b77

Please sign in to comment.