48 lines
2.1 KiB
Twig
48 lines
2.1 KiB
Twig
{% extends 'master.twig' %}
|
|
|
|
{% set title = 'Reset Password' %}
|
|
|
|
{% block content %}
|
|
<div class="loginPage">
|
|
<div class="passwordForm">
|
|
<div class="head">
|
|
Reset Password
|
|
</div>
|
|
<form method="post" action="{{ route('auth.resetpassword') }}" id="passwordForm">
|
|
<input type="hidden" name="session" value="{{ session_id() }}">
|
|
{% if get.u is defined and get.k is defined %}
|
|
<input type="hidden" name="user" value="{{ get.u }}">
|
|
<input type="hidden" name="key" value="{{ get.k }}">
|
|
<div class="leftAlign">
|
|
<label for="forgotUserName">Password:</label>
|
|
</div>
|
|
<div class="centreAlign">
|
|
<input class="inputStyling" type="password" id="resetPassword" name="password">
|
|
</div>
|
|
<div class="centreAlign">
|
|
<button class="inputStyling">Save Password</button>
|
|
</div>
|
|
{% else %}
|
|
<div class="leftAlign">
|
|
<label for="forgotUserName">Username:</label>
|
|
</div>
|
|
<div class="centreAlign">
|
|
<input class="inputStyling" type="text" id="forgotUserName" name="username">
|
|
</div>
|
|
<div class="leftAlign">
|
|
<label for="forgotEmail">E-mail:</label>
|
|
</div>
|
|
<div class="centreAlign">
|
|
<input class="inputStyling" type="text" id="forgotEmail" name="email">
|
|
</div>
|
|
<div class="centreAlign">
|
|
<button class="inputStyling">Request Change</button>
|
|
</div>
|
|
<div class="subLinks centreAlign">
|
|
<a href="{{ route('info.contact') }}" class="default">Contact us</a> if you lost access to your e-mail address!
|
|
</div>
|
|
{% endif %}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|