joomla/joomla-cms — pull request #4845 by sovainfo (2014-10-18 18:16:44+00:00)
Title: Update registration.php Fixes https://github.com/joomla/joomla-cms/issues/4841

User registration from frontend should work, whether you are logged in or not. Both user email and admin verification should be allowed when logged in. Both as user and admin.

Testing scenario's:
1. Backend adding user
2. Frontend registration with verification none
3. Frontend registration with verification self, verification while not logged in
4. Frontend registration with verification self, verification while logged in as different user
5. Frontend registration with verification admin, verification while not logged in
6. Frontend registration with verification admin, verification while logged in as different user
7. Frontend registration with verification admin, verification while logged in as admin

All scenarios passed with PR applied to J2520 updated to J2527 via J2525 on MySQL, Apache on W8.1