diff --git a/pool/page_userset.php b/pool/page_userset.php index bfed9cdf..6b02bc04 100644 --- a/pool/page_userset.php +++ b/pool/page_userset.php @@ -17,12 +17,20 @@ function uset($data, $user, $api, $err) $pg .= '
'; if ($api === false) + { $pg .= "You don't have an API Key setup yet"; + $draw = false; + } else { + addQR(); $pg .= 'Your current API Key is:'; $pg .= ' |
'; - $pg .= "$api"; + $pg .= "$api |
"; + $draw = true; } $pg .= ' |
'; $pg .= 'Click to generate a new API key'; @@ -49,6 +57,25 @@ function uset($data, $user, $api, $err) $pg .= ' |