Ejemplo n.º 1
0
 /**
  * Set a login form message and call the filter so that it will display
  *
  * @param string $message
  */
 public static function addLoginError($message)
 {
     self::$login_error_add = $message;
     add_filter('login_message', array('LoginWithAmazonUtility', 'displayErrorOnLoginForm'), 10, 0);
 }