@@ -118,7 +118,11 @@ main = do
118118 ( runBaseAff' $ run $ runReaderAt (Proxy :: _ "api") unauthedApi
119119 $ Logic.getLogInRequestToken prelogin (Email email) (Password password) captchaToken
120120 )
121− (const $ liftEffect $ Exc.throw "Could not log in. Please check your data and try again.")
121+ ( const
122+ $ liftEffect do
123+ Elm.send app Bridge.NeedsLogin
124+ Exc.throw "Could not log in. Please check your data and try again."
125+ )
122126 case toEither1 loginResponse of
123127 Left { siteKey } -> send $ Bridge.NeedsCaptcha siteKey
124128 Right token -> do