We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18be83 commit 91eb3e9Copy full SHA for 91eb3e9
mobile/src/main/java/com/windscribe/mobile/ui/auth/SignupViewModel.kt
@@ -126,7 +126,7 @@ class SignupViewModel @Inject constructor(
126
)
127
return
128
}
129
- val passwordRegex = Regex("^(?=.*[a-z])(?=.*[A-Z])[a-zA-Z0-9]+$")
+ val passwordRegex = Regex("^(?=.*[a-z])(?=.*[A-Z])[a-zA-Z0-9!@#\$%^&*()_+\\-={}\\[\\]:;\"'<>,.?/`~|\\\\]+$")
130
if (!password.matches(passwordRegex)) {
131
updateState(
132
SignupState.Error(
0 commit comments