typos and stuff
This commit is contained in:
parent
735d507dff
commit
c2aa8e392a
@ -22,7 +22,7 @@ $result = $statement->execute(array('userid' => $userid));
|
||||
$user = $statement->fetch();
|
||||
|
||||
//check if theres a code for the user delivered
|
||||
if($user === null || $user['actuvationcode'] === null) {
|
||||
if($user === null || $user['activationcode'] === null) {
|
||||
die('<div class="alert alert-danger" role="alert">
|
||||
No User matching your request.</div>');
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ if(isset($_GET['send']) ) {
|
||||
$mailrcpt = $user['email'];
|
||||
$mailsubject = "Activate the Account of ".$user['username'];
|
||||
$from = "From: Account Activation Service <activatemyaccount@loginpagefoo.td00.de>"; //place a real address if we use this in production
|
||||
$url_activationcode = 'https://loginpagefoo.td00.de/resetpass.php?userid='.$user['id'].'&code='.$activationcode; //this shouldnt be my domain in prod..
|
||||
$url_activationcode = 'https://loginpagefoo.td00.de/activate.php?userid='.$user['id'].'&code='.$activationcode; //this shouldnt be my domain in prod..
|
||||
$text = 'Hallo '.$user['username'].',
|
||||
please use the following URL to activate your account in the next 24h:
|
||||
'.$url_activationcode.'
|
||||
|
Loading…
x
Reference in New Issue
Block a user