question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Verify password functionality conditional logic is a bit off

See original GitHub issue

Currently I am using the verify email flow

However, I am running into an issue where for some reason this main block of logic is not being triggered: https://github.com/sahat/hackathon-starter/blob/master/controllers/user.js#L283

Therefore the app just hangs infinitely and then Heroku times out the request. I’m still debugging it but I think it would be great if there was an else block on that if statement where it will return an error to the frontend. Because like I said I’m still debugging what’s causing this but it’s happened ‘in the wild’ for me so I think that it would be useful for users/devs if this case was handled, thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mayeauxcommented, Feb 11, 2020

I traced it back to the fact that if you are logged in with a different account when you try your verification link it will just hang without sending an error. I can submit a PR for this if you’d like, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Password verify always returns fail in Laravel (Hash::check)
I made a posts table (in this case sales table) with password column. When I try to create the post, it's working perfectly...
Read more >
Conditional Logic for Online Forms - Jotform
Access the Conditional Logic Wizard. Go to the Settings tab in the Form Builder, then click Conditions on the left. Select the condition...
Read more >
Conditionals with if/else & Booleans | AP CSP (article)
If we want our programs to execute a different set of instructions when the condition is false, then we can use an else...
Read more >
Implementing Form Validation Without Conditional Logic
On line (1) , you see the declaration of the validation function. It's argument is that string that we want to validate, and...
Read more >
Python program to check the validity of a Password
In this program, we will be taking a password as a combination of alphanumeric characters ... Python program to check validation of password....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found