mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
add confirm password
This commit is contained in:
parent
cdd436bf8a
commit
f92e327577
1 changed files with 26 additions and 3 deletions
|
|
@ -83,7 +83,7 @@
|
|||
<h1 class="block text-center font-bold dark:text-white mb-8 text-3xl">
|
||||
Setup BunkerWeb
|
||||
</h1>
|
||||
<form action="setup" method="POST" autocomplete="off">
|
||||
<form id="setup-form" action="setup" method="POST" autocomplete="off">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<input
|
||||
type="hidden"
|
||||
|
|
@ -132,6 +132,29 @@
|
|||
/>
|
||||
</div>
|
||||
<!-- end password inpt-->
|
||||
<!-- password inpt-->
|
||||
<div class="flex flex-col relative col-span-12 my-3">
|
||||
<h5
|
||||
class="text-lg my-1 transition duration-300 ease-in-out dark:opacity-90 text-md font-bold m-0 dark:text-gray-300"
|
||||
>
|
||||
Confirm Password
|
||||
</h5>
|
||||
<label class="sr-only" for="ADMIN_PASSWORD_CHECK"
|
||||
>Confirm Password</label
|
||||
>
|
||||
<input
|
||||
type="password"
|
||||
id="ADMIN_PASSWORD_CHECK"
|
||||
name="ADMIN_PASSWORD_CHECK"
|
||||
class="col-span-12 dark:border-slate-600 dark:bg-slate-700 dark:text-gray-300 disabled:opacity-75 focus:valid:border-green-500 focus:invalid:border-red-500 outline-none focus:border-primary text-sm leading-5.6 ease block w-full appearance-none rounded-lg border border-solid border-gray-300 bg-white bg-clip-padding px-4 py-2 font-normal text-gray-700 transition-all placeholder:text-gray-500"
|
||||
placeholder="confirm password"
|
||||
value="{{ password }}"
|
||||
pattern="^(?=.*?\d)(?=.*?[ !\u0022#$%&'\(\)*+,.\/:;<=>?@\[\\\]^_`\u007B\u007C\u007D\u007E\u002D]).{8,}$"
|
||||
minlength="8"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<!-- end password inpt-->
|
||||
<!-- hostname-->
|
||||
<div class="flex flex-col relative col-span-12 my-3">
|
||||
<h5
|
||||
|
|
@ -194,8 +217,8 @@
|
|||
<div class="flex justify-center">
|
||||
<button
|
||||
type="submit"
|
||||
id="setup"
|
||||
name="setup"
|
||||
id="setup-button"
|
||||
name="setup-button"
|
||||
value="setup"
|
||||
class="tracking-wide my-4 dark:brightness-90 inline-block px-6 py-3 font-bold text-center text-white uppercase align-middle transition-all rounded-lg cursor-pointer bg-primary hover:bg-primary/80 focus:bg-primary/80 leading-normal text-sm ease-in shadow-xs bg-150 bg-x-25 hover:-translate-y-px active:opacity-85 hover:shadow-md"
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue