This repository has been archived on 2020-08-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nemubot-askweb/subscriptionConfirmation.php
2012-06-19 18:30:51 +02:00

15 lines
205 B
PHP

<?php
include("User.class.php");
$user = User::getUser($_GET['id']);
if ($user == null)
echo "Cet utilisateur n'existe pas"
else
{
$user->set_validated(true);
echo "Utilisateur confirmé !"
}
?>