Jump to content

Disable Client Area Login's Remember Me


Rangka Kacang

Recommended Posts

Hello.

 

Did I miss this or something? I've looked under General Settings > Security, but sees nothing. I've also did a community search before posting this topic but return unrelated result. Doing google search also not much of a help.

Apart from commenting (or hiding) this in the .tpl file,

<div class="checkbox">
	<label>
		<input type="checkbox" name="rememberme" /> {$LANG.loginrememberme}
	</label>
</div>

Are there any native way to disable to "Remember Me" checkbox in the client area login page? I'd like to turn this feature off to force my client login every time and don't set any login cookies in their machine.

 

Thank you.

Link to comment
Share on other sites

3 hours ago, Rangka Kacang said:

Did I miss this or something? I've looked under General Settings > Security, but sees nothing. I've also did a community search before posting this topic but return unrelated result. Doing google search also not much of a help.

well done for a thorough search before posting. bow.gif

in fairness, I can't recall the question ever been asked previously..

3 hours ago, Rangka Kacang said:

Are there any native way to disable to "Remember Me" checkbox in the client area login page?

as you have found, there won't be a way from the settings... I can think of three options...

  1. edit the template and remove the div - but you'd probably have to do this after every update.
  2. add some css to custom.css to hide the div...
    .login-form .checkbox {
        display: none;
    }

    if you haven't renamed "Six", then you'd have to watch out during an update that the file doesn't get overwritten - I think the automatic updater will try to (or at least has in the past).

  3. possibly you could add the css as a hook ? it's a little tricker though because the login page is different from most client area WHMCS pages.

all things considered, 2 would probably be the easiest option - just remember to take a backup of the custom.css file before updating. :idea:

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