Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

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

  • helpdeskortec
  • helpdeskortec's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months ago #151825 by helpdeskortec
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
The topic has been locked.
More
6 years 11 months ago #151875 by jelo
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.


The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 11 months ago - 6 years 11 months ago #151899 by tpartner
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:

Code:
#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 years 11 months ago by tpartner.
The topic has been locked.
More
6 years 11 months ago #151903 by jelo

tpartner wrote:

Code:
#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.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 11 months ago #151908 by holch
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
6 years 11 months ago #151909 by jelo

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".

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 11 months ago #151944 by holch
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
6 years 1 month ago #164069 by guest_666
Hi all,

I attach my solution

Regards
Attachments:
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose