Skip to content

Commit

Permalink
Fix issue related to emoji numbers in password
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Laské committed Aug 5, 2023
1 parent 518a1ee commit 78cd332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Bad cursor pointer on scrollbar #1281
- Extra white space to right side of the buttons #1124
- Migrating Measure activity to i18next #1362
- Unable to create password mainly based on numbers #1380

## [1.7.0] - 2023-03-28
### Added
Expand Down
2 changes: 1 addition & 1 deletion js/password.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ enyo.kind({
getPassword: function() {
var current = this.$.pass.getValue();
var password = "";
split = current.split(/([\uD800-\uDBFF][\uDC00-\uDFFF])/);
split = Array.from(current);
for (var i=0; i<split.length; i++) {
char = split[i]
if (char !== "") {
Expand Down

0 comments on commit 78cd332

Please sign in to comment.