Merge pull request #5425 from BtcContributor/revolutusername

Allow Revolut username to be minimum 3 characters
This commit is contained in:
Christoph Atteneder 2021-04-21 10:52:34 +02:00 committed by GitHub
commit 568900b79d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,8 @@ public final class RevolutValidator extends LengthValidator {
// 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) {