1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Get login/forgot password working again

This commit is contained in:
Toby Zerner
2015-06-19 11:19:49 +09:30
parent 63ea9f0891
commit 1f2e16c4bb
5 changed files with 31 additions and 28 deletions

View File

@@ -11,18 +11,7 @@
<body>
<h1>Reset Your Password</h1>
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form class="form-horizontal" role="form" method="POST" action="{{ route('flarum.forum.savePassword') }}">
<form class="form-horizontal" role="form" method="POST" action="{{ app('Flarum\Http\UrlGeneratorInterface')->toRoute('flarum.forum.savePassword') }}">
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group">