mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-14 15:39:37 -06:00
49 lines
1.5 KiB
PHP
49 lines
1.5 KiB
PHP
<div style="display: contents; background-color: inherit">
|
|
<p class="form__group">
|
|
<input
|
|
id="new_password"
|
|
class="form__text"
|
|
autocomplete="new-password"
|
|
minlength="12"
|
|
name="new_password"
|
|
placeholder=" "
|
|
required
|
|
type="password"
|
|
value="{{ old('new_password') }}"
|
|
wire:model.live="password"
|
|
/>
|
|
<label class="form__label form__label--floating" for="new_password">New password</label>
|
|
</p>
|
|
<p class="form__group">
|
|
<input
|
|
id="new_password_confirmation"
|
|
class="form__text"
|
|
autocomplete="new-password"
|
|
minlength="12"
|
|
name="new_password_confirmation"
|
|
placeholder=" "
|
|
required
|
|
type="password"
|
|
value="{{ old('new_password') }}"
|
|
/>
|
|
<label class="form__label form__label--floating" for="new_password_confirmation">
|
|
Repeat password
|
|
</label>
|
|
</p>
|
|
<p class="form__group">
|
|
<label class="form__label" for="password_strength">
|
|
Password strength:
|
|
<b>{{ $strengthLevels[$strengthScore] ?? 'Weak' }}</b>
|
|
</label>
|
|
<meter
|
|
id="password_strength"
|
|
class="form__meter"
|
|
min="0"
|
|
max="4"
|
|
value="{{ $strengthScore }}"
|
|
>
|
|
{{ $strengthLevels[$strengthScore] ?? 'Weak' }}
|
|
</meter>
|
|
</p>
|
|
</div>
|