Unverified Commit 8b767269 authored by Mike Greiling's avatar Mike Greiling
Browse files

accept modal confirm dialog when disabling 2FA

parent 6c5e20c1
......@@ -7,7 +7,7 @@
edit_user(user)
page.within('.two-factor-status') do
click_link 'Disable'
accept_confirm { click_link 'Disable' }
end
page.within('.two-factor-status') do
......
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