Authenticate ($_POST[authbygoog_email], $_POST[authbygoog_password])) { $_SESSION[authbygoog_username] = $_POST[authbygoog_email]; } else { echo '

Username or password are not correct.

'; return authbygoog_loginForm (); } } else { return authbygoog_loginForm (); } } } return $text; } add_filter('the_content', 'authbygoog'); function authbygoog_isAuth () { return !empty ($_SESSION[authbygoog_username]); } function authbygoog_loginForm () { $thisdir = WP_PLUGIN_URL.dirname (substr(__FILE__, strlen (WP_PLUGIN_DIR))); return file_get_contents("${thisdir}/login.php"); } function authbygoog_option_page() { global $wpdb; ?>

Authentication By Google Settings

Set up the default settings for your blog Google Authentication.

Authentication By Google default settings updated.

'; } ?>
Default Authentication Settings


Authenticate By Google

Default is