31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
<?php $pageTitle = 'Set New Password — NixPanel'; ?>
|
|||
|
|
|
||
|
|
<div class="min-h-[80vh] flex items-center justify-center px-4 py-16">
|
||
|
|
<div class="w-full max-w-md">
|
||
|
|
<div class="text-center mb-8">
|
||
|
|
<h1 class="text-3xl font-bold text-white">Set new password</h1>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="card">
|
||
|
|
<form method="POST" action="/reset-password" class="space-y-4">
|
||
|
|
<?= csrf_field() ?>
|
||
|
|
<input type="hidden" name="token" value="<?= e($token) ?>">
|
||
|
|
|
||
|
|
<div>
|
||
|
|
<label class="block text-sm text-gray-400 mb-1.5">New password</label>
|
||
|
|
<input type="password" name="password" required minlength="8"
|
||
|
|
class="input" placeholder="Min 8 characters" autofocus>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div>
|
||
|
|
<label class="block text-sm text-gray-400 mb-1.5">Confirm password</label>
|
||
|
|
<input type="password" name="password_confirm" required minlength="8"
|
||
|
|
class="input" placeholder="Repeat password">
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<button type="submit" class="btn-primary w-full justify-center py-3">Update password</button>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|