Skip to content

justinvandenberg/wasp-onbeforelogin-hook-example

Repository files navigation

What I'm expecting to see

I'm expecting the onBeforeLogin hook to fire after every login attempt.

What I'm seeing

I'm only seeing the onBeforeLogin hook firing after successful logins.

How to replicate

  1. Clone the repo:
git clone git@github.com:justinvandenberg/wasp-onbeforelogin-hook-example.git
  1. Set up database:
wasp db migrate-dev
  1. Run app:
wasp start
  1. Create a user
  2. Verify the email using the link in the console
  3. Log out (if needed)
  4. Log in with incorrect credentials (you won't see onBeforeLogin hook fired! in the console)
  5. Log in with correct credentials (you will see see onBeforeLogin hook fired! in the console)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors