Open SKevo18 opened 5 months ago
Thanks @SKevo18 for the bug report. Adding a /direct
prefix would break backwards compatibility for extensions already relying on those routes.
If we assume the incompatibilities with the /login
& /signup
routes are resolved (no matter how), the only really useful route would be /composer
. So I'm actually inclined to add sycho-private-facade
to the composer conflict field of this extension.
Thoughts?
So I'm actually inclined to add
sycho-private-facade
to the composer conflict field of this extension.
Thank you for your response! This is good as a temporary solution until a more robust one appears that allows both extensions to co-exist without bugs. This is because marking this as conflicting rules one of these extensions at hosting services like FreeFlarum for the time being.
@SKevo18 Well I just realized that adding sycho/flarum-private-facade
to the conflict
field would mean that only either one of those extensions could be installed in the first place, no matter if enabled in Flarum or not.. I guess that would be kinda a dealbreaker for FreeFlarum?
@SKevo18 Well I just realized that adding
sycho/flarum-private-facade
to theconflict
field would mean that only either one of those extensions could be installed in the first place, no matter if enabled in Flarum or not.. I guess that would be kinda a dealbreaker for FreeFlarum?
Yes, that is correct. You can put it in the conflict
field temporarily, until you find a better solution - this extension is not present at FreeFlarum at the moment because of this bug, so it isn't installed either way. Marking it as conflicting would signal other members of the community (who self-host) that these two can't be used together for now.
Fixed in 1.0.1
. I'll leave this issue open for the actual fix.
Bug Report
Current Behavior Flarum encounters a boot error when accessing
/login
. This seems to be an incompatibility between the private forum facade extension (sycho-private-facade
).Steps to Reproduce
/login
Expected Behavior The URL redirects to the login modal.
Screenshots Not applicable.
Environment
Possible solution(s) Put all routes into one common root route
/direct/
. That way, you could do/direct/login
, and it would not conflict with core or extensions.Additional Context An user at FreeFlarum requested the ability to redirect users to the signup modal. I have tested whether that's possible with this extension. The error occurred.
Logs: