- fixed account submission for password reset;

This commit is contained in:
nikitasinelnikov
2020-08-03 18:06:26 +03:00
parent 585870bb3d
commit 5e782cf922
11 changed files with 220 additions and 112 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ if ( ! class_exists( 'um\core\Form' ) ) {
//$this->post_form['submitted']['role'] = $role;
}
if ( isset( $_POST[ UM()->honeypot ] ) && $_POST[ UM()->honeypot ] != '' ){
if ( isset( $_POST[ UM()->honeypot ] ) && $_POST[ UM()->honeypot ] != '' ) {
wp_die( 'Hello, spam bot!', 'ultimate-member' );
}