mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-27 11:12:44 +00:00
baedd25309
Plugins can provide the necessary channel details (probably from an extended registration form). If no details are provided, a social (mostly public) channel will be created using the LHS of the email address and you will be directed to your channel page (unless email verification is required, in which case this step will be delayed until successful validation and login). If the reddress is already assigned a random name(1000-9999) reddress will be assigned.
22 lines
296 B
PHP
22 lines
296 B
PHP
<?php
|
|
|
|
function regver_content(&$a) {
|
|
|
|
global $lang;
|
|
|
|
$_SESSION['return_url'] = $a->cmd;
|
|
|
|
if(argc() != 3)
|
|
killme();
|
|
|
|
$cmd = argv(1);
|
|
$hash = argv(2);
|
|
|
|
if($cmd === 'deny') {
|
|
if (! account_deny($hash)) killme();
|
|
}
|
|
|
|
if($cmd === 'allow') {
|
|
if (! account_approve($hash)) killme();
|
|
}
|
|
}
|