Closed xiaohutai closed 6 years ago
Wait, it seems this error only occurs when you haven't triggered something first. Because it's not happening anymore 🤔
I still need to familiarize with this extension.
@xiaohutai You mean you can't repro the original issue?
The error happened on a clean install, but sometime later it never happened anymore. Not sure what's going on.
Hm, maybe I didn't saved it correctly when it didn't occur.
This fix should work, but not sure if it is proper.
To repro the original issue, you'll need to enter this condition. Having no redirect
in your request and no redirects: {login: /auth/profile}
in app/config/extensions/auth.boltauth.yml
.
I will provide a fix for the abovementioned condition in another PR soon. This one could still be merged I guess, forcing a __toString
shouldn't hurt 🙂
This should have been fixed by #22, but let me know if it isn't and I'll merge this one too.
Reopening since it might fix an issue reported on slack.
Seems to fix the other redirect problem not fixed by #22, so merging :)
Not sure if this is the proper fix, because it seems a bit hacky to me.