This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Check for City Email | |
* | |
* If a user tries to register with a city email address an error is returned. | |
* | |
* @author Nate Jacobs | |
* @link http://gist.github.com/1257325 | |
*/ | |
add_action( 'registration_errors', 'check_user_email',10, 3 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class StophaMultipleAuthentication | |
{ | |
// declare your active directory domain here | |
CONST domain = 'your domain'; | |
/** | |
* Class Construct | |
* |
NewerOlder