Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: remove password length check on signup

Ammar Ahmed01d0de3909ab
diff --git a/apps/mobile/app/components/auth/signup.tsx b/apps/mobile/app/components/auth/signup.tsx
index 06f870b21..d3ae56f3a 100644
--- a/apps/mobile/app/components/auth/signup.tsx
+++ b/apps/mobile/app/components/auth/signup.tsx
@@ -252,7 +252,6 @@ export const Signup = ({
autoComplete="password"
autoCapitalize="none"
blurOnSubmit={false}
- validationType="password"
autoCorrect={false}
placeholder={strings.password()}
onSubmit={() => {
@@ -277,7 +276,7 @@ export const Signup = ({
autoCorrect={false}
blurOnSubmit={false}
validationType="confirmPassword"
- customValidator={() => password.current!}
+ customValidator={() => password.current || ""}
placeholder={strings.confirmPassword()}
marginBottom={12}
onSubmit={() => {