/** * Method to set authentication error msg * @param string error message * @since Jomsocial 2.4 */ public static function setError($error) { self::$error = $error; }