Validate only puny label length #2608

This commit is contained in:
Priit Tark 2015-06-09 16:35:02 +03:00
parent 1654f87e04
commit 5c68eb558c
6 changed files with 21 additions and 16 deletions

View file

@ -56,7 +56,7 @@ class Epp::Domain < Domain
],
'2005' => [ # Parameter value syntax error
[:name_dirty, :invalid, { obj: 'name', val: name_dirty }],
[:name_puny, :too_long, { obj: 'name', val: name_puny }]
[:puny_label, :too_long, { obj: 'name', val: name_puny }]
],
'2201' => [ # Authorisation error
[:auth_info, :wrong_pw]