This repository has been archived on 2021-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
chie/public/activate.php
2020-07-06 17:09:56 +00:00

9 lines
190 B
PHP

<?php
require_once '../startup.php';
include_once '_user.php';
if(isset($_GET['key']) && is_string($_GET['key']))
activate_user($_GET['key']);
header('Location: /login?m=activated');