if ($this->getConfigInstance()->getConfigEntry('confirm_email_enabled') === 'N') {
// No confirmation of email needed
$configEntry = 'user_status_confirmed';
- } // END - if
+ }
// Add a lot elements to the dataset criteria
foreach ($this->criteriaElements as $alias => $element) {
if ((($element == 'username') || ($alias == 'username')) && ($this->getRequestInstance()->getRequestElement($element) == $this->getConfigInstance()->getConfigEntry('guest_login_user'))) {
// Yes, then set the config entry to guest status
$configEntry = 'user_status_guest';
- } // END - if
+ }
} // END - foreach
// Mark the username as unique key