Jump to content

Encrypt password (WHMCS to DirectAdmin auto login)


Tapeix

Recommended Posts

Hi guys,

 

I'm looking for a way to encrypt my costumer's passwords. I want to let them login automatically to DirectAdmin, but the password shows up to be decrypted. Does someone have a nice solution for the code below?

 

<form action="http{if $serversecure}s{/if}://{if $serverhostname}{$serverhostname}{else}{$serverip}{/if}:{if $serversecure}2222{else}2222{/if}/CMD_LOGIN" method="post" target="_blank">

                   <input type="hidden" name="username" value="{$username}" />
[b]                    <input type="hidden" name="password" value="{$password}" />[/b]

                   <button style="float:left;margin-left:5px; font-size: 9pt" class="modulebutton"> {$lang.clientareadirectadmin_link} </button>

               </form>

 

Thanks!

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