X-Git-Url: http://andersk.mit.edu/gitweb/sql-web.git/blobdiff_plain/9840d1021689621de69674389a2a15ac10183d02..HEAD:/login.php diff --git a/login.php b/login.php index 5e2d310..32a4461 100644 --- a/login.php +++ b/login.php @@ -1,4 +1,7 @@ exists() && !$Login->isEnabled()) { - $err[] = 'Account not active. Did you signup yet?.'; + $err[] = 'Account not active.'; } elseif (!$Login->exists()) { $err[] = 'Nonexistant account or invalid password.'; } elseif (!$Login->canLogin()) { - $err[] = 'That account is no longer valid. Please contact the staff.'; + $err[] = 'That account is no longer valid. Please contact the staff (sql@mit.edu).'; } if (empty($err)) { sess('UserId', $Login->getUserId()); - redirect('main'); + redirect('main?refresh'); } }