You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two-factor plugin (both our fork and the upstream copy) use plugins_url( '...blah.js', __FILE__ ) to deduce the URL for the asset. That resolves to full/site/path/vendor... instead of /vendor... when used in an Altis site where the plugin is installed to vendor/humanmade/two-factor.
Acceptance criteria:
Scripts and styles are registered with valid URIs
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
something.altis.cloud/some/path
I expected a functional 2FA form. Instead, we see 404s for all the two-factor plugin scripts and styles, because they get registered as,
instead of
The
two-factor
plugin (both our fork and the upstream copy) useplugins_url( '...blah.js', __FILE__ )
to deduce the URL for the asset. That resolves tofull/site/path/vendor...
instead of/vendor...
when used in an Altis site where the plugin is installed tovendor/humanmade/two-factor
.Acceptance criteria:
The text was updated successfully, but these errors were encountered: