user already activated!
This commit is contained in:
parent
c2aa8e392a
commit
f790be42bd
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user