Jump to content

Show password in services change password area


Recommended Posts

before upgrading to six customers used to be able to go to services, change password and see their current username and password. this was useful as the username and password was for FTP so they didnt need to create another FTP account and also some customers want to give developers cpanel only access so they would just give them that username and password.

now in the new theme you can no longer see the username and password is there any way to get this back that anyone knows of. i dont see it as a security threat as if you can get on whmcs you can click to get to cpanel anyway.

Link to comment
Share on other sites

  • 4 weeks later...

they may think that no need for these credentials with the new one click login functionality.

 

anyway if you need to display these information follow this simple 2 steps:

1) open this file for editing: /whmcs-path/modules/servers/cpanel/templates/overview.tpl

2) add the following code at the end of it:

<div class="panel panel-default">
   <div class="panel-heading">
       <h3 class="panel-title">Login Credentials</h3>
   </div>
   <div class="panel-body">
       <div class="row">
           <div class="col-lg-6">
               <input type="text" name="user" class="form-control" value="{$moduleParams.username|htmlentities}">
           </div>
           <div class="col-lg-6">
               <input type="text" name="pass" class="form-control" value="{$moduleParams.password|htmlentities}">
           </div>
       </div>
   </div>
</div>

 

this will bring back username and password to product overview page, feel free to customize it for your needs

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