Problem with login by email

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
klappo
Posts: 3
Joined: Oct 31, 2017 8:42 am

Problem with login by email

Post by 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?

atrol
Site Admin
Posts: 7660
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Problem with login by email

Post by 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

klappo
Posts: 3
Joined: Oct 31, 2017 8:42 am

Re: Problem with login by email

Post by 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

Post by klappo » Dec 13, 2017 9:23 am

Nobody has such a problem? Any other ideas?

rkarmann
Posts: 66
Joined: Nov 24, 2017 5:00 am
Location: Lille, France

Re: Problem with login by email

Post by 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.
Currently working on a wiki-based plugin for MantisBT 2.X. If you'd like to test it, contact me or see the plugin section.

Post Reply