Admin Hijack via WHMCS Module fails

I’m not sure what’s going on, trying to login as a customer fails with the following error:

command `email_enabled' does not exist. Did you mean `email_configured'?

It seems to be enabled, not sure where the issue is or what’s changed recently as this has worked in the last few days.

# cpcmd -d site6 email:enabled
1

Github reference

This is happening on multiple servers now, seems specifically tied to the API as it doesn’t happen in Nexus.

Thanks for the bug report. Fixed in edge. Multipath session feature was loading page links before the session gets replaced by target user.

You can enable multipath, which allows multiple concurrent users in browser, by setting cpcmd scope:set cp.config frontend multipath_length 4. That’s good for 62^4 sessions.

Edit: reminds me, if you redirect to the root level (/) in WHMCS, it’ll follow whatever the entry app is defined for that particular plan.

Thanks Matt, seems to have a new error.

command `admin_hijack' does not exist

Fixed in edge at this time :+1:

The “Login” Link / Admin highjack via the Blesta module is still broken on edge.

git describe reports
v3.2.45.2

Run upcp again. Multipath support isn’t scheduled for inclusion until the next release. Some of those pending changes for .46 found their way into .45.2.

# upcp
/usr/local/apnscp/build/upcp.sh: line 519: fatal: command not found
Already up to date.
Compiled services and packages files removed!
Nothing to migrate.
Nothing to migrate.

then

# upcp -f
Updating files: 100% (4774/4774), done.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
93 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
storage/certificates/data/certs/acme-v02.api.letsencrypt.org.directory/site6/cert.pem
storage/certificates/data/certs/acme-v02.api.letsencrypt.org.directory/site6/chain.pem
storage/certificates/data/certs/acme-v02.api.letsencrypt.org.directory/site6/fullchain.pem
storage/certificates/data/certs/acme-v02.api.letsencrypt.org.directory/site6/key.pem
storage/opcenter/mappings/domainmap.tch
storage/run/apnscpd.pid
storage/run/httpd.pid
storage/tmp/agent-root
Compiled services and packages files removed!
Nothing to migrate.
Nothing to migrate.

Looks like you’re on edge yet not set to track anything.

cd /usr/local/apnscp
git checkout v3.2.45.2
upcp