user already activated!

This commit is contained in:
Thies Mueller 2021-01-09 23:07:21 +01:00
parent c2aa8e392a
commit f790be42bd

View File

@ -39,6 +39,9 @@ if(isset($_GET['send']) ) {
if($user === false) { if($user === false) {
$error = "<b>no user found</b>"; $error = "<b>no user found</b>";
}
if($user['activated'] == "1"){
$error = "<b>user already activated!</b>"
} else { } else {
//check if theres a code already //check if theres a code already
$activationcode = random_string(); $activationcode = random_string();