aaronpk/OwnYourSwarm

No feedback on failed login

Opened this issue · 1 comments

Turns out my IndieAuth-flow is broken. Quill gives the following error:

indieauth_error

The authorization code was not able to be verified

OwnYourSwarm, however, just redirects me to the homepage, without any message (and also not logged in).

I think it's because this else is setting $token['auth'] to false, so the next if is not being executed (as it should), but also the error-state is not being checked.

I think I might be experiencing something like this. However, my site is issuing tokens successfully (I see two of them for OwnYourSwarm)