getPriv('ENCKEY')); } } View::show_header('Generate API Token'); if (is_null($token)) { if ($error) { echo $HTML = <<

$error

HTML; } echo $HTML = <<

Use this page to generate new API tokens. When the token is shown to you is the only time the token will be visible, so be sure to copy it down. You, nor staff, will be able to view the value for any previously generation token.

Treat your tokens like passwords and keep them secret.

HTML; } else { echo $HTML = <<

This is the only time this token value you will be shown to you, so be sure to copy it down! Neither you, nor staff, will be able to view the value for any previously generated token.

In case of doubt, you should always revoke a token and generate a new one. Treat your tokens like passwords and keep them secret.

Name Token
$tokenName
Go back to user settings
HTML; } View::show_footer();