isSufficient()) {
$plugin->startSession($form_loginname);
}
if ($return_to) {
session_redirect($return_to);
exit;
} else {
session_redirect('/my');
exit;
}
} else {
if ($form_loginname && $form_pw) {
$warning_msg = _('Invalid Password Or User Name');
} else {
$warning_msg = _('Missing Password Or User Name');
}
}
form_release_key(getStringFromRequest('form_key'));
// Account Pending
if (!isset($userstatus)) {
if (!empty($form_loginname)) {
$u = user_get_object_by_name($form_loginname) ||
user_get_object_by_email($form_loginname) ;
if (!$u) {
$warning_msg .= '
'. _('Your account does not exist.').'
'; } } } elseif ($userstatus == "P") { $warning_msg .= 'Your account is currently pending your email confirmation.
Visiting the link sent to you in this email will activate your account.
If you need this email resent, please click below and a confirmation email will be sent to the email address you provided in registration.
Your %1$s account has been removed by %1$s staff. This may occur for two reasons, either 1) you requested that your account be removed; or 2) some action has been performed using your account which has been seen as objectionable (i.e. you have breached the terms of service for use of your account) and your account has been revoked for administrative reasons. Should you have questions or concerns regarding this matter, please log a support request.
Thank you,
%1$s Staff