mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
some minor cleanup - change the default of the discover tab (public stream access)
This commit is contained in:
@@ -102,19 +102,20 @@ class Auth {
|
||||
|
||||
|
||||
function Verify($channel,$hubloc) {
|
||||
|
||||
logger('auth request received from ' . $hubloc['hubloc_addr'] );
|
||||
|
||||
// check credentials and access
|
||||
|
||||
// If they are already authenticated and haven't changed credentials,
|
||||
// we can save an expensive network round trip and improve performance.
|
||||
|
||||
$this->remote = remote_channel();
|
||||
$this->remote_service_class = '';
|
||||
$this->remote_level = 0;
|
||||
$this->remote_hub = $hubloc['hubloc_url'];
|
||||
$this->dnt = 0;
|
||||
|
||||
// check credentials and access
|
||||
|
||||
// If they are already authenticated and haven't changed credentials,
|
||||
// we can save an expensive network round trip and improve performance.
|
||||
|
||||
// Also check that they are coming from the same site as they authenticated with originally.
|
||||
|
||||
$already_authed = (((remote_channel()) && ($hubloc['hubloc_hash'] == remote_channel())
|
||||
|
||||
Reference in New Issue
Block a user