Remove the "Forgot your password" option on the Limesurvey login section.

More
6 months 3 weeks ago #151825 by helpdeskortec
helpdeskortec created the topic: Remove the "Forgot your password" option on the Limesurvey login secti
Hi all,

We use LDAP to authenticate all the survey administrators on our LimeSurvey website. One of the survey administrators made the mistake of repeatedly typing in her password wrongly. After a couple of turns she chose the option "Forgot your password" and received the password in her mailbox.
Here is where she got it all mixed up. Instead of choosing the "LimeSurvey internal database" authentication method, she chose the LDAP authentication method. She used the password that was emailed to her. She did not get authenticated off course.

So, how I can make sure people do not use the "Forgot your password" option?
1. I tell them not to use the "Forgot your password" button.
2. I remove the "Forgot your password" button .


Can someone tell me how to remove the "Forgot your password" on the logon page?

Thanks in advance.

Stanley

Please Log in to join the conversation.

More
6 months 3 weeks ago #151875 by jelo
jelo replied the topic: Remove the "Forgot your password" option on the Limesurvey login secti
There is currently no setting for doing this.

Some ideas:
a) Open a feature request (takes time, to guarantee)
b) Modify the PHP code (which also means, doing that after each update of LimeSurvey)
c) Try to modify the admintemplate/CSS (same cons as with b)

Hiding via CSS seems to be not possible without hiding the loginbutton.

Attachments:

Please Log in to join the conversation.

More
6 months 3 weeks ago - 6 months 3 weeks ago #151899 by tpartner
tpartner replied the topic: Remove the "Forgot your password" option on the Limesurvey login secti
You should be able to hide it with CSS.

1) Create a custom admin theme - manual.limesurvey.org/Custom_Admin_Theme...meSurvey_Version_2.5

2) Add something like this to the end of /limeSurveyDirectory/upload/admintheme/yourThemeName/css/lime-admin-common.css:

#loginform .login-submit a {
	display: none;
}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 6 months 3 weeks ago by tpartner.

Please Log in to join the conversation.

More
6 months 3 weeks ago #151903 by jelo
jelo replied the topic: Remove the "Forgot your password" option on the Limesurvey login secti

tpartner wrote:

#loginform .login-submit a {
	display: none;
}

Interesting, so that hides the <a> tag restricted to the named div section.
My CSS3 book is still shrink-wrapped.

Please Log in to join the conversation.

More
6 months 3 weeks ago #151908 by holch
holch replied the topic: Remove the "Forgot your password" option on the Limesurvey login secti
I think this is possible since before CSS3. Because even I have used this before and my last real use of CSS is probably about 6-7 years ago. ;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
6 months 3 weeks ago #151909 by jelo
jelo replied the topic: Remove the "Forgot your password" option on the Limesurvey login secti

holch wrote: Because even I have used this before and my last real use of CSS is probably about 6-7 years ago. ;-)

My CSS1 and CSS2 books are also shrink-wrapped. Now I'm waiting for someone telling me, that CSS3 is no longer one, big specification but a bundle of modules. Meanwhile I learned today: In CSS3 the selector can be e.g a[href$=".lss"], which then selects every <a> element whose href attribute value ends with ".lss".

Please Log in to join the conversation.

More
6 months 3 weeks ago #151944 by holch
holch replied the topic: Remove the "Forgot your password" option on the Limesurvey login secti
Everyday something new. ;-)
I really have to get back in the game with HTML/CSS. Was quite good at it back in the time, but if you don't use it on a regular basis you forget a lot and then these stupid things also move on and change. Not helping.
And Javascript / Jquery is also on the list. But there is too much on the list already.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now