Set $title to 'Lost Account'

This commit is contained in:
slawkens
2025-09-14 19:49:26 +02:00
parent d2f1f41576
commit 233bf001ce
9 changed files with 17 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
* @link https://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account Interface';
$title = 'Lost Account';
if(!setting('core.mail_enabled')) {
echo "<b>Account maker is not configured to send e-mails, you can't use Lost Account Interface. Contact with admin to get help.</b>";

View File

@@ -1,6 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account';
$code = isset($_REQUEST['code']) ? trim($_REQUEST['code']) : '';
$character = isset($_REQUEST['character']) ? stripslashes(trim($_REQUEST['character'])) : '';

View File

@@ -1,6 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account';
$email = $_REQUEST['email'];
$nick = stripslashes($_REQUEST['nick']);

View File

@@ -1,6 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account';
$newPassword = $_REQUEST['passor'];
$code = $_REQUEST['code'];
$character = stripslashes($_REQUEST['character']);

View File

@@ -1,5 +1,7 @@
<?php
$title = 'Lost Account';
if($account->isLoaded()) {
if($account->getCustomField('email_next') < time()) {
$twig->display('account/lost/email.html.twig', [

View File

@@ -1,6 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account';
if($account->isLoaded()) {
$account_key = $account->getCustomField('key');

View File

@@ -1,6 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account';
$recKey = trim($_REQUEST['key']);
$nick = stripslashes($_REQUEST['nick']);

View File

@@ -1,6 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account';
$recKey = trim($_REQUEST['key']);
$nick = stripslashes($_REQUEST['nick']);
$newPassword = trim($_REQUEST['passor']);

View File

@@ -1,6 +1,8 @@
<?php
defined('MYAAC') or die('Direct access not allowed!');
$title = 'Lost Account';
$nick = stripslashes($_REQUEST['nick']);
$player = new OTS_Player();