Jump to content

Changing DirectAdmin Password from within WHMCS


LittleCreek

Recommended Posts

There used to be a way for a client to change his DirectAdmin password from his WHMCS client area. I seem to remember being able to add some code to re-enable this but I can't find it now. I would like clients to have to change their DA password from their client area rather than doing it from DA. This is so the Login to DirectAdmin button works from their client area. Does anybody know how to accomplish this?

Link to comment
Share on other sites

This was removed in newer WHMCS versions for security reasons. WHMCS no longer allows changing the DirectAdmin password from the client area.

The recommended approach is to let clients change their password directly in DirectAdmin and use the Login to DirectAdmin (SSO) button from WHMCS, which works without password syncing.

Re-enabling password sync would require a custom module or hook using the DirectAdmin API, but that isn’t officially supported.

Link to comment
Share on other sites

16 hours ago, Curtain Installation said:

The recommended approach is to let clients change their password directly in DirectAdmin and use the Login to DirectAdmin (SSO) button from WHMCS, which works without password syncing.

I must have something set up incorrectly because the Login to DirectAdmin button doesn't work if the passwords don't match. If the client changes their password on DirectAdmin then the button only directs them to the login screen on the DirectAdmin server.

Link to comment
Share on other sites

4 hours ago, LittleCreek said:

I must have something set up incorrectly because the Login to DirectAdmin button doesn't work if the passwords don't match. If the client changes their password on DirectAdmin then the button only directs them to the login screen on the DirectAdmin server.

That’s normal behavior. The Login to DirectAdmin (SSO) button doesn’t sync passwords. If the password is changed directly in DirectAdmin, WHMCS can’t auto-log in and will redirect to the DirectAdmin login page instead. This is expected in newer WHMCS versions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated