Details
-
Bug
-
Resolution: Fixed
-
High
-
4.6.0-dev
-
None
Description
When you creates an account that needs administration approval, after you click in the link that is on the email that you have received, is given the following message:
"Your account is now activated.".
However, the user account isn't yet activated by the administrator, and the correct message that should appear is:
"Your email address has been confirmed. An administrator needs to approve your sign up request, before your login becomes valid."
tc-501 is already created
Steps to reproduce
Create Workflows Login as admin in admin2 interface Press "User Accounts" on the top menu Click "Administrator Users" group, and edit the "Administrator" user. Change the admin e-mail to one that you have access to. (You will need this to receive notifications) E-mail: (e-mail you have access to) Send por publishing. Click “Setup†on the top menu Press “Workflows†on the left side. Click “Standard†link Click “New Workflow†button on the bottom of the page Under “Groups who approve content†press “Add Groups†button. Select the “Editors†and the “Administrators†checkbox, and press “Select†button on the bottom. Insert the following data: Name: Before Workflow Description / comments: Before Workflow Affected sections: Users Affected versions: Publishing new object Click “Add Event†button Press “OK†on the bottom of the page Press “Add Workflow†button on the bottom of the page again Insert the following data: Name: After Workflow On the Drop-down box, choose “Event / Finish User Registration†Insert the following data: Description / comments: After Workflow Press “OK†on the bottom of the page. Activate Workflows Login as admin in admin2 interface Click “Setup†link in top menu Press “Triggers†in the left side menu Under “Content - Publish - Before†on the Drop-down box, choose “Before Workflow†Confirm that there was only that possibility on the Drop-down box. Under “Content - Publish - After†on the Drop-down box, choose “After Workflow" Confirm that there was only that possibility on the Drop-down box. Press “Apply Changes†button on the bottom of the page Open your shell command line, and type: $ rm -rf /tmp/sess_* This command deletes all the sessions handlers in order to bypass the testsystem session handler. Register User Open admin2 in browser. Press “Register†button Input data: First Name: John Last Name: Doe Username: John Password: testuser Confirm Password: testuser E-mail: (ANOTHER email_that_you_have_access) Press “ok†button at the end of the page. Confirm you get the message: “Your account was successfully created. An email will be sent to the specified email address. Follow the instructions in that mail to activate your account.†Press “ok†button