Welcome to the LimeSurvey Community Forum

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

Limesurvey login using email address

More
7 years 5 months ago - 7 years 5 months ago #142552 by bava
HI,
I am using the limesurvey version 2.50+
i want to use username or email address for login in limesurvey, how to do that ??
right now it working based on username only.
Thanks.
Last edit: 7 years 5 months ago by bava.
The topic has been locked.
More
7 years 5 months ago #142554 by jelo
Replied by jelo on topic Limesurvey login using email address

bava wrote: i want to use username or email address for login in limesurvey, how to do that ??
right now it working based on username only.

There is not setting to change that behavior.
So you might create a feature request or modify the php code by yourself.
To get some hints from devs you might open a feature request anyway. The devs are not always reading the forum.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 5 months ago #142572 by LouisGac
Replied by LouisGac on topic Limesurvey login using email address
yep, just open a feature request, it's not that hard to do.
The topic has been locked.
More
7 years 5 months ago #142583 by bava
Replied by bava on topic Limesurvey login using email address
Hey thanks for the time, can some one point out me how to do make changes to achieve this one, since i am using Auth Db plugins in limesurvey..??
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 5 months ago #142585 by LouisGac
Replied by LouisGac on topic Limesurvey login using email address
the problem is that today the login is based on the plugin system, which has its very own "logic". So it's pretty hard to read the code and understand how it's working.

For what you're trying to do, you should work in this method:
github.com/LimeSurvey/LimeSurvey/blob/ma...UserIdentity.php#L27
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 5 months ago #142839 by DenisChenu
Replied by DenisChenu on topic Limesurvey login using email address
Use email as username (already done a lot ....).

Remind : user can update email, but not username.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 5 months ago #142973 by bavabuhardeen
Replied by bavabuhardeen on topic Limesurvey login using email address
we will restrict the email address as non editable,, but can you show the path how to implement this ?

Thanks
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 5 months ago #142977 by DenisChenu
Replied by DenisChenu on topic Limesurvey login using email address
It's just at user creation : i use email adress in login :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
7 years 5 months ago #142988 by bavabuhardeen
Replied by bavabuhardeen on topic Limesurvey login using email address
yup, that i thought already, but how i want is , the user can login using the username and email address provided at the time of user creation,

for ex , at the time of creation i am giving
username: test
email : test@test.com
password : test

after creating above user , when log in i can use username/pwd or email/pwd , both these should allow me logged in.
Thanks.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 4 months ago #144491 by LouisGac
Replied by LouisGac on topic Limesurvey login using email address
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose