mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-02 05:07:11 +01:00
[WIP] Refactor account lost - fixes
This commit is contained in:
@@ -6,6 +6,7 @@ csrfProtect();
|
||||
$title = 'Lost Account';
|
||||
|
||||
$nick = $_REQUEST['nick'] ?? '';
|
||||
$key = $_REQUEST['key'] ?? '';
|
||||
|
||||
if($account->isLoaded()) {
|
||||
$account_key = $account->getCustomField('key');
|
||||
@@ -13,6 +14,7 @@ if($account->isLoaded()) {
|
||||
if(!empty($account_key)) {
|
||||
$twig->display('account/lost/recovery-key.step-1.html.twig', [
|
||||
'nick' => $nick,
|
||||
'key' => $key,
|
||||
]);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user