fix: length code valid

This commit is contained in:
Alexandro Uc Santos
2025-03-19 12:46:33 -06:00
parent 7092ab388c
commit edc5e193d9
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
const handleConfirmRegister = async() => {
msgError.value = '';
msgSuccess.value = '';
if(form.code.length < 6) {
if(form.code.length < 2) {
msgError.value = t('errors.code');
clearMessages();
return;

View File

@@ -61,7 +61,7 @@
const handleConfirmRegister = async() => {
msgError.value = '';
msgSuccess.value = '';
if(form.code.length < 6) {
if(form.code.length < 2) {
msgError.value = t('errors.code');
clearMessages();
return;