]> andersk Git - sql-web.git/blobdiff - login.php
signup: now takes signups by argument
[sql-web.git] / login.php
index 98a59a5d995b73383c1903444782243b37fb10c6..57d8e88aa3b145ce718dfbc838840e7c4ccbaebf 100644 (file)
--- a/login.php
+++ b/login.php
@@ -22,12 +22,12 @@ if (isPost() && empty($err)) {
        } 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');
        }
 
 }
This page took 0.027088 seconds and 4 git commands to generate.