mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 19:13:37 +08:00
44 lines
1.3 KiB
PHP
44 lines
1.3 KiB
PHP
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>Reset Your Password</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
|
|
</head>
|
|
|
|
<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') }}">
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
|
|
|
<div class="form-group">
|
|
<label class="control-label">Password</label>
|
|
<input type="password" class="form-control" name="password">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label">Confirm Password</label>
|
|
<input type="password" class="form-control" name="password_confirmation">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<button type="submit" class="btn btn-primary">Reset Password</button>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|