pow-auth / pow_assent

Multi-provider authentication for your Pow enabled app
https://powauth.com
MIT License
318 stars 50 forks source link

Ensure that the registration disabled path checks for current user. #227

Closed thijsnado closed 1 year ago

thijsnado commented 1 year ago

Fixes #226

The issue here is if registration disabled path doesn't check if the current user already exists before setting the error state. This PR makes it so that if the user exists we don't set the error state, we just return the connection.

danschultzer commented 1 year ago

Good callout! Sorry for the wait. I've fixed it in #229. Thanks!