0
내보기에 다음 HTML이 있습니다. 부 푸트 모달을 사용하고 있습니다. 로그인 및 리디렉션에는 정상적으로 작동하지만 로그인 시도가 실패하면 실제 로그인 페이지로 다시 리디렉션하지 않습니다. action="{{ route('login') }}">
사용자가 로그인 페이지로 돌아 가지 않아야합니까?로그인 실패 후 모달이 로그인으로 리디렉션되지 않습니다.
<form class="form-horizontal" method="POST" action="{{ route('login') }}">
{{ csrf_field() }}
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<div class="col-md-12">
<input id="email" type="email" placeholder = "Email address.." class="form-control" name="email" value="{{ old('email') }}" required autofocus>
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<div class="col-md-12">
<input id="password" type="password" placeholder = "Password" class="form-control" name="password" required>
</div>
</div>
</div>
<p class = "small" style="padding:10px;">By signing up, you are indicating that you have read and agree to the <a href="">Terms of Use</a> and <a href="#">Privacy Policy</a>.</p>
<div class="modal-footer">
<button type="submit" class="btn btn-primary">Enter</button>
</div>
</form>