From 0acffa487c16af7f50bd79bdf06f9c8608d1dfbb Mon Sep 17 00:00:00 2001 From: Jason Munro Date: Wed, 10 May 2017 16:28:32 -0500 Subject: [PATCH] fix bug in 2fa module that lost user settings after sucessfully entering the 2fa code --- modules/2fa/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/2fa/setup.php b/modules/2fa/setup.php index 7685e8fa9f..11dda82089 100644 --- a/modules/2fa/setup.php +++ b/modules/2fa/setup.php @@ -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');