Fix gauth

This commit is contained in:
Denis Baranov
2017-06-30 16:27:05 +03:00
parent 66b9a5e9e3
commit 3c1277119a
+1 -1
View File
@@ -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 );