return json_encode(['success']);
} else {
- throw ValidationException::withMessages(['password' => __('Erreur lors de la validation du formulaire')]);
+ throw ValidationException::withMessages(['password' => __('Votre e-mail ou mot de passe ne correspondent à aucun compte existant')]);
}
}
$request->only('email')
);
+ $message = __("Vous allez recevoir un e-mail vous permettant de réinitialiser votre mot de passe");
return $status === Password::RESET_LINK_SENT
- ? back()->with(['status' => __($status)])
+ ? back()->with(['status' => __($status), 'message' => $message])
: back()->withErrors(['email' => __($status)]);
}
this.price = parseFloat(this.$refs.optprice ?.dataset.default).toFixed(2)
this.statusText = this.$refs.statusConfig ?.dataset.incomplete
this.discount = this.$refs.discount ?.dataset.value
+ this.validateAction = this.$refs.forgotpwd ?.dataset.status
},
watch: {
checkScroll();
+eventBus.$emit('detect-modal');
+
$(document).on('click', 'button.cart-add', function () {
$(this).addClass('btn-no-hover').addClass('bg-navy');
$(this).find('.add').addClass('hidden');
</div>
</div>
</div>
+ @if(Session::get('message'))
+ <div ref="forgotpwd" data-status="true"></div>
+ <modal-confirm>
+ <p>{{ Session::get('message') }}</p>
+ </modal-confirm>
+ @endisset
@endsection