Vergleich admin/modules/home/preferences.php - 1.8.5 - 1.8.19

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 32Zeile 32
	$table = new Table;
$table->construct_header($lang->recovery_codes);


	$table = new Table;
$table->construct_header($lang->recovery_codes);


	$table->construct_cell($lang->recovery_codes_warning);

	$table->construct_cell("{$lang->recovery_codes_warning} <strong><a href=\"javascript:window.print()\">{$lang->print_recovery_codes}</a></strong>");

	$table->construct_row();

$table->construct_cell(implode("<br />", $codes));

	$table->construct_row();

$table->construct_cell(implode("<br />", $codes));

Zeile 42Zeile 42

$page->output_footer();
}


$page->output_footer();
}

 


if(!$mybb->input['action'])
{
require_once MYBB_ROOT."inc/3rdparty/2fa/GoogleAuthenticator.php";

if(!$mybb->input['action'])
{
require_once MYBB_ROOT."inc/3rdparty/2fa/GoogleAuthenticator.php";

Zeile 171Zeile 172
	$page->output_footer();
}


	$page->output_footer();
}


 
/**
* Generate 10 random recovery codes, each with a length of 6 and without duplicates
*
* @return array
*/

function generate_recovery_codes()
{
$t = array();

function generate_recovery_codes()
{
$t = array();