diff --git a/packages/dart/npt_flutter/lib/util/form_validator.dart b/packages/dart/npt_flutter/lib/util/form_validator.dart index 646781dd0..f4a909ee7 100644 --- a/packages/dart/npt_flutter/lib/util/form_validator.dart +++ b/packages/dart/npt_flutter/lib/util/form_validator.dart @@ -14,7 +14,7 @@ class FormValidator { static String? validateRequiredAtsignField(String? value) { final strings = AppLocalizations.of(App.navState.currentContext!)!; - if (!value!.startsWith('@')) { + if (!value!.startsWith('@') || value.length < 2) { return strings.validationErrorAtsignField; } validateRequiredField(value);