user email field

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
cdiaz1985
Posts: 4
Joined: 04 Aug 2021, 15:45

user email field

Post by cdiaz1985 »

hello how are you?
Users always have the email field empty and through the web I cannot fill it, the field is disabled. Does it always have to be through the database? No way to make it editable?
thanksss
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: user email field

Post by cas »

What is your version/platform etcetera?
What is your logon method, LDAP?
cdiaz1985
Posts: 4
Joined: 04 Aug 2021, 15:45

Re: user email field

Post by cdiaz1985 »

Hello!
Yes method LDAP and version plataform 2.5.1

thanks
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: user email field

Post by cas »

Do you have this setting in your config_inc.php:
$g_use_ldap_email = ON;
Then the email will be retrieved via LDAP
cdiaz1985
Posts: 4
Joined: 04 Aug 2021, 15:45

Re: user email field

Post by cdiaz1985 »

Yes, i have setting this option but not retrive me the email field. I have to fill it by database :(.
The sending mail works ok.....any other idea? :(
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: user email field

Post by cas »

Apparently LDAP does not retrieve the email. So that is what you need to investigate.
For now change the setting to:
$g_use_ldap_email = OFF;
Now you can change it in the user interface :mrgreen:
cdiaz1985
Posts: 4
Joined: 04 Aug 2021, 15:45

Re: user email field

Post by cdiaz1985 »

jjajaja thank you very much. This works for me at the moment!! Later I'll see because dont retrive from ldap.
regards
Post Reply