Problem with login by email

General discussion of Mantis.

Moderators: Contributor, Developer

Problem with login by email

Postby klappo » Oct 31, 2017 9:20 am

Hi,
I have enabled the email login option ($ g_email_login_enabled = ON;) but the users have accounts with addresses where the domain looks like: domainexample.network. I have checked that the problem is with the domain long and exactly with ".network"
The system only accepts 4 characters after dot, ie ".netw"
Example user@domainexample.netw is ok but user@domainexample.network is wrong and give me error "Your account may be disabled or blocked or the username/password you entered is incorrect."

Can anyone help?
klappo
 
Posts: 3
Joined: Oct 31, 2017 8:42 am

Re: Problem with login by email

Postby atrol » Oct 31, 2017 10:07 am

You could deactivate e-mail validation by adding the following line to file config_inc.php
Code: Select all
$g_validate_email = OFF;
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6716
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Problem with login by email

Postby klappo » Nov 07, 2017 10:40 am

I checked that, this parametr has no effect on it, the problem still exists
klappo
 
Posts: 3
Joined: Oct 31, 2017 8:42 am

Re: Problem with login by email

Postby klappo » Dec 13, 2017 9:23 am

Nobody has such a problem? Any other ideas?
klappo
 
Posts: 3
Joined: Oct 31, 2017 8:42 am

Re: Problem with login by email

Postby rkarmann » Dec 14, 2017 8:05 am

Take a look at the email_api, you might be able to find out wich function is responsible for this issue.
--> Between line 90 and 190 (email validation functions, including regex)

Enable the LOG and you'll see how is user's email adress processed.
rkarmann
 
Posts: 26
Joined: Nov 24, 2017 5:00 am
Location: Lille, France


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 9 guests