Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Encrypt password (WHMCS to DirectAdmin auto login)

$
0
0
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?

Code:

<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}" />
                    <input type="hidden" name="password" value="{$password}" />

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

                </form>

Thanks!

Viewing all articles
Browse latest Browse all 13458

Trending Articles