mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
Merge branch 'feature/4952_fix_change_password_special_characters' into 'develop'
MESSENGER 4952 support more special characters See merge request bwmessenger/bundesmessenger/bundesmessenger-ios!200
This commit is contained in:
@@ -71,7 +71,8 @@ enum PasswordValidatorRule: CustomStringConvertible, Hashable {
|
||||
case .containNumber:
|
||||
return password.range(of: "[0-9]", options: .regularExpression) != nil
|
||||
case .containSymbol:
|
||||
return password.range(of: "[!\"#$%&'()*+,-.:;<=>?@\\_`{|}~\\[\\]]",
|
||||
// bwi: #4952 support more special characters
|
||||
return password.range(of: "[!\"#$§€%&'()*+,-.:;<=>?@\\_`{|}~\\[\\]]",
|
||||
options: .regularExpression) != nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user