diff --git a/front-ui/app/components/account/register.js b/front-ui/app/components/account/register.js index 81a3ecb..f9f8204 100644 --- a/front-ui/app/components/account/register.js +++ b/front-ui/app/components/account/register.js @@ -93,9 +93,7 @@ var Register = React.createClass({ firstName: function(value) { var errors = []; if (!value || value === '') { - errors.push("First name is required."); - } else if (value && value.length > 5) { - errors.push("First name is larger than 5 characters."); + errors.push("Ime je obavezno."); } return errors; }, diff --git a/front-ui/build/index.html b/front-ui/build/index.html index 58ea5c0..75d4bd8 100644 --- a/front-ui/build/index.html +++ b/front-ui/build/index.html @@ -3,14 +3,14 @@