Improve password reset UI
This commit is contained in:
parent
be4e88cc9a
commit
79e9029faf
1 changed files with 10 additions and 1 deletions
|
@ -138,7 +138,16 @@ $page->navigation();
|
|||
<label>Email</label>
|
||||
|
||||
<div class="ui left icon input">
|
||||
<input type="email" name="email" placeholder="john.doe@domain.tld" />
|
||||
<?php if ($_GET['password-reset']) { ?>
|
||||
<input type="email"
|
||||
name="email"
|
||||
placeholder="john.doe@domain.tld"
|
||||
value="<?= $_GET['password-reset'] ?>"
|
||||
readonly
|
||||
/>
|
||||
<?php } else { ?>
|
||||
<input type="email" name="email" placeholder="john.doe@domain.tld" />
|
||||
<?php } ?>
|
||||
<i class="envelope icon"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue