Turn off Automatic Assignment of Member Role to New Users
If you need to make use of the 'Member' role for some other task, other than identifying registered users, there is a quick an easy way to turn off the automatic assignment of the member role to new users.
Simply locate the code that starts with: "portal_registration.addMember" and change it to the following:
The empty brackets signify that no roles should be assigned to the new user.
Simply locate the code that starts with: "portal_registration.addMember" and change it to the following:
portal_registration.addMember(username, password, [], properties=REQUEST)
The empty brackets signify that no roles should be assigned to the new user.
Need assistance with your project? Universal Web Services can help.
Contact us to request a quote.