about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-15 13:54:23 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-15 13:54:23 +0000
commite31fcb1a6d8820fdbd05b34aa169839214b7a240 (patch)
treef248f4ff4d6e1f7be8b92a7b975cfa5b41527327 /src
parent7d69570a44d38278233f17f74a2239edd8ed81de (diff)
downloadvoidsky-e31fcb1a6d8820fdbd05b34aa169839214b7a240.tar.zst
reenable set new password button
Diffstat (limited to 'src')
-rw-r--r--src/screens/Login/SetNewPasswordForm.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screens/Login/SetNewPasswordForm.tsx b/src/screens/Login/SetNewPasswordForm.tsx
index 2685ad5ee..8fbd798c8 100644
--- a/src/screens/Login/SetNewPasswordForm.tsx
+++ b/src/screens/Login/SetNewPasswordForm.tsx
@@ -44,8 +44,6 @@ export const SetNewPasswordForm = ({
   const [password, setPassword] = useState<string>('')
 
   const onPressNext = async () => {
-    onPasswordSet()
-    if (Math.random() > 0) return
     // Check that the code is correct. We do this again just incase the user enters the code after their pw and we
     // don't get to call onBlur first
     const formattedCode = checkAndFormatResetCode(resetCode)