diff options
Diffstat (limited to 'authtoken.json')
-rwxr-xr-x | authtoken.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/authtoken.json b/authtoken.json index c080028..2db49de 100755 --- a/authtoken.json +++ b/authtoken.json @@ -14,6 +14,7 @@ if(defined $ENV{REMOTE_USER}) { ($dbh, $status, $errorstring) = rddb::opendb(); if(defined $dbh) { ($token, $status, $errorstring) = rddb::get_token($dbh, $ENV{REMOTE_USER}); + $token = '' unless($token); $username = $ENV{REMOTE_USER}; rddb::closedb($dbh); } |