Skip to content

Commit

Permalink
fix: Incorrect type casting occurs when an insufficient number of cha…
Browse files Browse the repository at this point in the history
…racters entered to password field on the registration page.
  • Loading branch information
ibrahimozkn committed Jun 30, 2024
1 parent a017eec commit fe7a964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designer_v2/lib/features/auth/auth_form_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class AuthFormController extends _$AuthFormController
ValidationMessage.email: (_) => tr.form_field_email_invalid,
ValidationMessage.mustMatch: (_) => tr.form_field_password_mustmatch,
ValidationMessage.minLength: (error) => tr.form_field_password_minlength(
(error as Map)['requiredLength'] as String,
(error as Map)['requiredLength'].toString(),
),
};

Expand Down

0 comments on commit fe7a964

Please sign in to comment.