Skip to content

Commit

Permalink
Merge pull request #6362 from OCHA-DAP/feature/HDX-9808-update-userna…
Browse files Browse the repository at this point in the history
…me-hints

HDX-9808 update username hints
  • Loading branch information
danmihaila authored Jun 14, 2024
2 parents 47ced1c + 2f3a34f commit e0f8a5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ this.ckan.module('hdx-form-validator', function ($) {
var validationMessages = {
'name': [
{'key': 'invalid-length', 'message': 'Must be between 2 and 100 characters in length'},
{'key': 'invalid-format', 'message': 'Must use lowercase alphanumeric characters'},
{'key': null, 'message': 'Can use - (dash) or _ (underscore)'}
{'key': 'invalid-format', 'message': 'Must use lowercase alphanumeric characters (a-z, 0-9)'},
{'key': null, 'message': 'Allowed special characters - (dash) or _ (underscore)'},
],
'password1': [
{'key': 'invalid-length', 'message': 'The password must be a minimum of 10 characters in length'},
Expand Down

0 comments on commit e0f8a5b

Please sign in to comment.