Fix password reset system

This commit is contained in:
Dane Everitt 2016-01-16 21:57:10 -05:00
parent 8e92f96999
commit 861af87e93
7 changed files with 11 additions and 14 deletions

View file

@ -10,7 +10,7 @@
@endsection
@section('content')
<div class="col-md-6">
<div class="col-md-8">
<form action="/auth/password" method="POST">
<legend>{{ trans('auth.resetpassword') }}</legend>
<fieldset>

View file

@ -10,8 +10,8 @@
@endsection
@section('content')
<div class="col-md-6">
<form action="/auth/password/verify" method="POST">
<div class="col-md-8">
<form action="/auth/password/reset" method="POST">
<legend>{{ trans('auth.resetpassword') }}</legend>
<fieldset>
<input type="hidden" name="token" value="{{ $token }}">

View file

@ -7,8 +7,8 @@
<center><h1>Pterodactyl Lost Password Recovery</h1></center>
<p>Hello there! You are receiving this email because you requested a new password for your Pterodactyl account.</p>
<p>Please click the link below to confirm that you wish to change your password. If you did not make this request, or do not wish to continue simply ignore this email and nothing will happen. <strong>This link will expire in 1 hour.</strong></p>
<p><a href="{{ url('auth/password/verify/'.$token) }}">{{ url('auth/password/verify/'.$token) }}</a></p>
<p><a href="{{ url('auth/password/reset/'.$token) }}">{{ url('auth/password/reset/'.$token) }}</a></p>
<p>Please do not hesitate to contact us if you belive something is wrong.
<p>Thanks!<br />Pterodactyl</p>
</body>
</html>
</html>