add reminder
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<p><label for="username" id="formtitle">Вход в личный кабинет*</label></p>
|
||||
<p><input name="username" type="email" autocomplete="on" placeholder="Введите электронную почту" required autofocus /><span class="icon"><i class="far fa-envelope"></i></span></p>
|
||||
<p><input name="password" type="password" minlength="5" autocomplete="current-password" placeholder="Введите пароль" required ><span class="icon"><i class="fas fa-key"></i></p>
|
||||
<p><a href="<?=SITE?>restoration">забыли пароль</a></p>
|
||||
<p><a href="<?=SITE?>reminder">забыли пароль</a></p>
|
||||
<p><input class="submit" type="submit" value="ВОЙТИ"></p>
|
||||
</form>
|
||||
|
||||
|
||||
0
app/views/noreset.phtml
Normal file
0
app/views/noreset.phtml
Normal file
16
app/views/reminder.phtml
Normal file
16
app/views/reminder.phtml
Normal file
@@ -0,0 +1,16 @@
|
||||
<div id="container_form">
|
||||
|
||||
<h1>Восстановление пароля</h1>
|
||||
|
||||
<?if (isset($error)):?>
|
||||
<div id="error" style="color: red;"><?=$error?></div>
|
||||
<?endif?>
|
||||
|
||||
<form method="POST" action="reminder">
|
||||
|
||||
<p><input name="resetmail" type="email" autocomplete="on" placeholder="Введите электронную почту" required autofocus /><span class="icon"><i class="far fa-envelope"></i></span></p>
|
||||
<p><input class="submit" type="submit" value="ОТПРАВИТЬ"></p>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
5
app/views/reminder_end.phtml
Normal file
5
app/views/reminder_end.phtml
Normal file
@@ -0,0 +1,5 @@
|
||||
<h1>Ссылка на восстановление пароля выслана на Вашу электронную почту</h1>
|
||||
|
||||
<?if (isset($link)):?>
|
||||
<div><a href="<?=$link?>">Для установки пароля пройдите по ссылке</a></div>
|
||||
<?endif?>
|
||||
Reference in New Issue
Block a user