Skip to content

Commit

Permalink
fix bug in 2fa module that lost user settings after sucessfully
Browse files Browse the repository at this point in the history
entering the 2fa code
  • Loading branch information
jasonmunro committed May 10, 2017
1 parent a9b3760 commit 0acffa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/2fa/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
handler_source('2fa');
output_source('2fa');

add_module_to_all_pages('handler', '2fa_check', true, '2fa', 'load_user_data', 'after');
add_module_to_all_pages('handler', '2fa_check', true, '2fa', 'save_user_data', 'after');
add_module_to_all_pages('output', '2fa_dialog', true, '2fa', 'header_start', 'before');

add_handler('settings', 'process_enable_2fa', true, '2fa', 'save_user_settings', 'before');
Expand Down

0 comments on commit 0acffa4

Please sign in to comment.