Commit e4d0c0e6 authored by Erick Hitter's avatar Erick Hitter
Browse files

Correct regex error that broke the Ajax window

parent fdd7f0a7
......@@ -641,7 +641,7 @@ class Authy_WP {
$authy_data = $this->get_authy_data( $user_id );
// Step
$step = isset( $_REQUEST['authy_step'] ) ? preg_replace( '#[a-z0-9\-_]#i', '', $_REQUEST['authy_step'] ) : false;
$step = isset( $_REQUEST['authy_step'] ) ? preg_replace( '#[^a-z0-9\-_]#i', '', $_REQUEST['authy_step'] ) : false;
// iframe head
?><head>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment