wip
This commit is contained in:
@@ -49,7 +49,13 @@
|
||||
{{ __('Verification code') }}
|
||||
</label>
|
||||
|
||||
<input class="form-control form-input form-input-bordered w-full" id="verification" type="text" name="verification">
|
||||
<input
|
||||
class="form-control form-input form-input-bordered w-full"
|
||||
id="verification"
|
||||
type="text"
|
||||
name="verification"
|
||||
value=""
|
||||
>
|
||||
|
||||
<span id="verification-error-box" class="text-red-500 text-italic error-box"></span>
|
||||
</div>
|
||||
@@ -87,6 +93,7 @@ async function resetPassword(event) {
|
||||
const response = await postData(event.target.action, getFormData(event))
|
||||
|
||||
if (response.errors) {
|
||||
console.log(response.errors);
|
||||
loopObject(response.errors, item => addValidationClasses(item))
|
||||
} else {
|
||||
removeValidationClasess()
|
||||
|
||||
Reference in New Issue
Block a user