summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-02-19 22:03:12 +0000
committerChristian Fowler <spider@viovio.com>2008-02-19 22:03:12 +0000
commit77dd898ab94b2bada11004d42c6f0d561e1d643f (patch)
tree917dc45cd9e79f1e3377183acb4e05dd720aa49b
parentcf311ed83abfa53ff05945753bed67b24db47b74 (diff)
downloadusers-77dd898ab94b2bada11004d42c6f0d561e1d643f.tar.gz
users-77dd898ab94b2bada11004d42c6f0d561e1d643f.tar.bz2
users-77dd898ab94b2bada11004d42c6f0d561e1d643f.zip
set 410 'GONE' http status for This confirmation link is no longer valid.
-rw-r--r--confirm.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/confirm.php b/confirm.php
index e4974f8..1d7f8db 100644
--- a/confirm.php
+++ b/confirm.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/confirm.php,v 1.5 2006/09/12 19:26:48 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/confirm.php,v 1.6 2008/02/19 22:03:12 spiderr Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: confirm.php,v 1.5 2006/09/12 19:26:48 spiderr Exp $
+ * $Id: confirm.php,v 1.6 2008/02/19 22:03:12 spiderr Exp $
* @package users
* @subpackage functions
*/
@@ -26,6 +26,7 @@ if( !empty( $userId ) && !empty( $provPass ) && $userInfo = $gBitUser->confirmRe
$gBitSmarty->assign_by_ref( 'userInfo', $userInfo );
$gBitSystem->display( 'bitpackage:users/change_password.tpl', 'Confrim Password Change' );
} else {
+ $gBitSystem->setHttpStatus( 410 );
$gBitSystem->fatalError( tra("This confirmation link is no longer valid. Please Login or <a href=\"".USERS_PKG_URL."remind_password.php\">request a new password change</a>") );
}
?>