mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:55:14 +00:00
also error if no security context
This commit is contained in:
parent
fc62f07a08
commit
ba4f75ba19
1 changed files with 8 additions and 0 deletions
|
@ -115,6 +115,14 @@ class Auth {
|
|||
$this->remote_hub = $hubloc['hubloc_url'];
|
||||
$this->dnt = 0;
|
||||
|
||||
if(! $this->sec) {
|
||||
logger('missing security context.');
|
||||
if($this->test)
|
||||
$this->Debug('missing security context.');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// check credentials and access
|
||||
|
||||
// If they are already authenticated and haven't changed credentials,
|
||||
|
|
Loading…
Reference in a new issue