]> andersk Git - sql-web.git/blobdiff - login.php
git-svn-id: svn://presbrey.mit.edu/sql/web@112 a142d4bd-2cfb-0310-9673-cb33a7e74f58
[sql-web.git] / login.php
index 98a59a5d995b73383c1903444782243b37fb10c6..48588930438b22573df3ab27423bad0bdf6a2f4a 100644 (file)
--- a/login.php
+++ b/login.php
@@ -1,4 +1,7 @@
 <?php
+/*
+       (c) 2005 Joe Presbrey
+*/
 
 require_once('mitsql.cfg.php');
 require_once('mitsql.lib.php');
@@ -22,12 +25,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.027499 seconds and 4 git commands to generate.