maybe thats how to escape the activation of unknown users
This commit is contained in:
parent
cf3031774e
commit
00096d3791
@ -40,6 +40,9 @@ if(isset($_GET['send']) ) {
|
||||
if($user === false) {
|
||||
$error = '<span class="badge badge-pill badge-warning"><b>no user found</b></span>';
|
||||
}
|
||||
if($user['username'] !== $_POST['username']){
|
||||
$error = '<span class="badge badge-pill badge-warning"><b>no user found/invalid user</b></span>';
|
||||
}
|
||||
if($user['activated'] == "1"){
|
||||
$error = '<span class="badge badge-pill badge-warning"><b>user already activated!</b></span>';
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user