cvs: pearweb /include pear-auth.php
| From: | Stig Bakken | Date: | Sat, 01 Sep 2001 23:03:21 +0000 |
| Subject: | cvs: pearweb /include pear-auth.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-735@lists.php.net to get a copy of this message | ||
ssb Sat Sep 1 19:03:21 2001 EDT
Modified files:
/pearweb/include pear-auth.php
Log:
* redirect users to main page after failed logins
Index: pearweb/include/pear-auth.php
diff -u pearweb/include/pear-auth.php:1.8 pearweb/include/pear-auth.php:1.9
--- pearweb/include/pear-auth.php:1.8 Mon Aug 20 22:27:59 2001
+++ pearweb/include/pear-auth.php Sat Sep 1 19:03:21 2001
@@ -10,6 +10,7 @@
}
Header("HTTP/1.0 401 Unauthorized");
Header("WWW-authenticate: basic realm=\"$realm\"");
+ Header("Refresh: 3; url=/");
response_header($message);
report_error($message);
response_footer();