From 3c1277119a37e400321d4c83109359cea1d47784 Mon Sep 17 00:00:00 2001 From: Denis Baranov Date: Fri, 30 Jun 2017 16:27:05 +0300 Subject: [PATCH] Fix gauth --- core/um-filters-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/um-filters-login.php b/core/um-filters-login.php index 720fd4ff..fae5b42a 100644 --- a/core/um-filters-login.php +++ b/core/um-filters-login.php @@ -63,7 +63,7 @@ /*** *** @login checks thru the wordpress admin login ***/ - add_filter('authenticate', 'um_wp_form_errors_hook_logincheck', 999, 3); + add_filter('authenticate', 'um_wp_form_errors_hook_logincheck', 50, 3); function um_wp_form_errors_hook_logincheck( $user, $username, $password ) { do_action('wp_authenticate_username_password_before', $user, $username, $password );