Assume an action of resetpass if key is given.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-04-20 22:08:37 +00:00
parent 199618e3b5
commit 1bdf7fb263
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ require( dirname(__FILE__) . '/wp-config.php' );
$action = $_REQUEST['action'];
$error = '';
if ( isset($_GET['key']) )
$action = 'resetpass';
nocache_headers();
header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));