File inc/admin.inc.php changed (mode: 100644) (index 3defc63..de14172) |
... |
... |
function rg_init($db, $rg) |
251 |
251 |
// Makes no sense to confirm the admin account |
// Makes no sense to confirm the admin account |
252 |
252 |
$rg['rg_account_email_confirm'] = 0; |
$rg['rg_account_email_confirm'] = 0; |
253 |
253 |
|
|
254 |
|
$ret .= rg_template('user/create_ok.html', $rg, TRUE /* xss */); |
|
|
254 |
|
$ret .= rg_template('user/create_ok.html', $rg, TRUE /*xss*/); |
255 |
255 |
$load_form = FALSE; |
$load_form = FALSE; |
256 |
256 |
break; |
break; |
257 |
257 |
} |
} |
File inc/ssh.inc.php changed (mode: 100644) (index 60f67ef..3e530d8) |
... |
... |
function rg_ssh_status($db, $uid) |
15 |
15 |
|
|
16 |
16 |
echo 'Here will be the status.' . "\n"; |
echo 'Here will be the status.' . "\n"; |
17 |
17 |
|
|
18 |
|
// also details about payments: warn if disk space is low etc. |
|
|
18 |
|
// also details about payments, warn if disk space is low etc. |
19 |
19 |
} |
} |
20 |
20 |
|
|
21 |
21 |
/* |
/* |
|
... |
... |
function rg_ssh_totp($db, $ip, $uid, $paras) |
255 |
255 |
|
|
256 |
256 |
$r = rg_totp_unenroll($db, $uid); |
$r = rg_totp_unenroll($db, $uid); |
257 |
257 |
if ($r !== TRUE) { |
if ($r !== TRUE) { |
258 |
|
fwrite(STDERR< 'Error: ' . rg_totp_error() . ".\n"); |
|
|
258 |
|
fwrite(STDERR, 'Error: ' . rg_totp_error() . ".\n"); |
259 |
259 |
break; |
break; |
260 |
260 |
} |
} |
261 |
261 |
|
|