Skip to content

Commit

Permalink
Allow Revolut username to be minimum 3 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
BtcContributor committed Apr 21, 2021
1 parent 57adbdc commit 25b6685
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public RevolutValidator() {
// that the old accountID as phone number or email is displayed at the username text field and we do not
// want to break validation in those cases. So being too strict on the validators might cause more troubles
// as its worth...
super(5, 100);
// UPDATE 04/2021: Revolut usernames could be edited (3-16 characters, lowercase a-z and numbers only)
super(3, 100);
}

public ValidationResult validate(String input) {
Expand Down

0 comments on commit 25b6685

Please sign in to comment.