Closed (fixed)
Project:
Remember me
Version:
6.x-2.2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
11 Nov 2010 at 17:06 UTC
Updated:
7 Feb 2012 at 11:40 UTC
I know this sounds kind of stupid for this module, but I want to be able to hide the Remember Me checkbox. I like its ability to automatically log the user off after the browser is closed, but I don't want a remember me checkbox there that from their perspective has no purpose (I set the remember me time to 30 seconds). Any ideas?
Comments
Comment #1
warriors2832org commentedComment #2
warriors2832org commentedReally? Nobody? Is there any way to do it in CSS, PHP, HTML, ...?
Comment #3
doq commentedAdd sth like
to your custom module. This won't render the "Remember me" checkbox and default value should be used when processing the form.
Comment #4
warriors2832org commentedWhere is this added, and what does sth mean?
Comment #5
doq commentedCreate a new Drupal module and add provided code into it.
This part of code will extend remember_me module functionality by what you've requested.
Or maybe you want this to be added into remember_me module core but of course this should be configurable.
Comment #6
warriors2832org commentedIs there a way I could add this directly to the current Remember Me module? I am not to good with creating my own modules yet.
Comment #7
nickl commentedThe form alter suggestion will work, you could also hide it with css. I think this is a fair request and will be considered.
Comment #8
nickl commentedAdded a setting on admin/settings/remember_me to configure the checkbox visibility.
If the field is not visible then the default state configured won't be changeable by users.
Comment #9
nickl commentedAvailable in new release.