mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-20 08:57:24 +08:00
Update Account.php
This commit is contained in:
@@ -96,11 +96,13 @@ class Account {
|
|||||||
$form->addError("agree",AGREE_ERROR);
|
$form->addError("agree",AGREE_ERROR);
|
||||||
}
|
}
|
||||||
if($form->returnErrors() > 0) {
|
if($form->returnErrors() > 0) {
|
||||||
$_SESSION['errorarray'] = $form->getErrors();
|
$form->addError("invt",$_POST['invited']);
|
||||||
$_SESSION['valuearray'] = $_POST;
|
$_SESSION['errorarray'] = $form->getErrors();
|
||||||
|
$_SESSION['valuearray'] = $_POST;
|
||||||
|
|
||||||
|
|
||||||
header("Location: anmelden.php");
|
header("Location: anmelden.php");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(AUTH_EMAIL){
|
if(AUTH_EMAIL){
|
||||||
$act = $generator->generateRandStr(10);
|
$act = $generator->generateRandStr(10);
|
||||||
|
|||||||
Reference in New Issue
Block a user