By: Rao Bhamidipati user 26 Dec 2015 at 11:43 a.m. CST

2 Responses
Rao Bhamidipati gravatar
We installed 2.4 successfully. After the user self-registers, when they try to first login, the login fails and says "please use correct user name and password". We are not using any external LDAP or Cache-refresh etc. When I go back in as admin and change the password and update the user's record, however, the user is able to login. How do we enable it so that user passwords work after self-registration without admin intervention?

By Yuriy Movchan staff 27 Dec 2015 at 3:57 a.m. CST

Yuriy Movchan gravatar
Hi, There is method which allows to configure application to enable newly registered users. You can use [Registration custom script](http://www.gluu.org/docs/reference/interception-scripts/#user-registration) to update user entry during registration. Can you try to do next: 1. Update User Registration custom script according to next template: ` from org.xdi.ldap.model import GluuStatus ` ... def preRegistration(self, user, requestParameters, configurationAttributes): print "User registration. Pre method" # Enable registered user user.setStatus(GluuStatus.ACTIVE) return True 2. Enable this custom script 3. Try to register new user 4. Try to log in.

By Rao Bhamidipati user 29 Dec 2015 at 9:49 p.m. CST

Rao Bhamidipati gravatar
This works.. Thanks