confirmRegistration( $_REQUEST["user"], $_REQUEST["pass"] ) ) { $gBitSmarty->assign_by_ref( 'userInfo', $userInfo ); $gBitSystem->display( 'bitpackage:users/change_password.tpl' ); } else { $gBitSmarty->assign('msg', tra("Invalid username or password")); $gBitSystem->display( 'error.tpl' ); } ?>