New format of recovery key: xxxxx-xxxxx-xxxxx-xxxxx

TODO: adjust account lost recovery
This commit is contained in:
slawkens
2026-01-18 21:54:08 +01:00
parent 21e2eed640
commit babd822171
3 changed files with 10 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ else
if($points >= setting('core.account_generate_new_reckey_price'))
{
$show_form = false;
$new_rec_key = generateRandomString(10, false, true, true);
$new_rec_key = generateRecoveryKey();
$mailBody = $twig->render('mail.account.register.html.twig', array(
'recovery_key' => $new_rec_key