mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-10 11:00:47 +01:00
Set $title to 'Lost Account'
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
* @link https://my-aac.org
|
* @link https://my-aac.org
|
||||||
*/
|
*/
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
$title = 'Lost Account Interface';
|
$title = 'Lost Account';
|
||||||
|
|
||||||
if(!setting('core.mail_enabled')) {
|
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>";
|
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>";
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
$code = isset($_REQUEST['code']) ? trim($_REQUEST['code']) : '';
|
$code = isset($_REQUEST['code']) ? trim($_REQUEST['code']) : '';
|
||||||
$character = isset($_REQUEST['character']) ? stripslashes(trim($_REQUEST['character'])) : '';
|
$character = isset($_REQUEST['character']) ? stripslashes(trim($_REQUEST['character'])) : '';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
$email = $_REQUEST['email'];
|
$email = $_REQUEST['email'];
|
||||||
$nick = stripslashes($_REQUEST['nick']);
|
$nick = stripslashes($_REQUEST['nick']);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
$newPassword = $_REQUEST['passor'];
|
$newPassword = $_REQUEST['passor'];
|
||||||
$code = $_REQUEST['code'];
|
$code = $_REQUEST['code'];
|
||||||
$character = stripslashes($_REQUEST['character']);
|
$character = stripslashes($_REQUEST['character']);
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
if($account->isLoaded()) {
|
if($account->isLoaded()) {
|
||||||
if($account->getCustomField('email_next') < time()) {
|
if($account->getCustomField('email_next') < time()) {
|
||||||
$twig->display('account/lost/email.html.twig', [
|
$twig->display('account/lost/email.html.twig', [
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
if($account->isLoaded()) {
|
if($account->isLoaded()) {
|
||||||
$account_key = $account->getCustomField('key');
|
$account_key = $account->getCustomField('key');
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
$recKey = trim($_REQUEST['key']);
|
$recKey = trim($_REQUEST['key']);
|
||||||
$nick = stripslashes($_REQUEST['nick']);
|
$nick = stripslashes($_REQUEST['nick']);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
$recKey = trim($_REQUEST['key']);
|
$recKey = trim($_REQUEST['key']);
|
||||||
$nick = stripslashes($_REQUEST['nick']);
|
$nick = stripslashes($_REQUEST['nick']);
|
||||||
$newPassword = trim($_REQUEST['passor']);
|
$newPassword = trim($_REQUEST['passor']);
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('MYAAC') or die('Direct access not allowed!');
|
defined('MYAAC') or die('Direct access not allowed!');
|
||||||
|
|
||||||
|
$title = 'Lost Account';
|
||||||
|
|
||||||
$nick = stripslashes($_REQUEST['nick']);
|
$nick = stripslashes($_REQUEST['nick']);
|
||||||
|
|
||||||
$player = new OTS_Player();
|
$player = new OTS_Player();
|
||||||
|
|||||||
Reference in New Issue
Block a user