External authentication and user profile settings [message #33706] |
Fri, 15 September 2006 12:57 |
vangeliz
Messages: 1 Registered: September 2006
Karma: 0
|
Junior Member |
|
|
Not sure if this is the right place, or if it is possible to do what we want, but I hope someone has a good suggestion.
We have a fresh install of v2.7.5, which we would like to integrate with external NTLM/LDAP authentication.
I've got the authentication sorted, but as we never really get the clear-text password during authentication, a random password is inserted in the DB, and we only check if the username provided matches a username in the Fudforum db.
This creates one problem, where the users are unable to edit their own profile without knowing the random password that is generated for the account.
One solution would be to send an email to the user with the password generated when we create via the fudapi, but I hope there is a better way where there user doesn't have to rely on the password at all...
Is there a setting anywhere to remove the requirement for entering a password when editing ones own profile?
Regards,
Thomas
|
|
|
Re: External authentication and user profile settings [message #33713 is a reply to message #33706] |
Fri, 15 September 2006 22:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There is no such setting, but to remove the password check is quite simple in the profile editing screen. Look for the set of if() conditions that start with
if (empty($_POST['reg_confirm_passwd'])
And simply comment out that entire block, then edit the register.tmpl template to remove the password field.
FUDforum Core Developer
|
|
|