remove extra debug logging and ensure we don't try to authenticate without a hubloc
This commit is contained in:
parent
648f972cf0
commit
5735cad457
@ -22,7 +22,6 @@ class Auth {
|
||||
|
||||
function __construct($req) {
|
||||
|
||||
logger('construct');
|
||||
|
||||
$this->ret = array('success' => false);
|
||||
$this->success = false;
|
||||
@ -41,15 +40,12 @@ class Auth {
|
||||
|
||||
$x = $this->GetHublocs($this->address);
|
||||
|
||||
logger('hublocs');
|
||||
|
||||
if($x) {
|
||||
foreach($x as $xx) {
|
||||
|
||||
logger('verify');
|
||||
|
||||
if($this->Verify($c,$xx))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @FIXME we really want to save the return_url in the session before we
|
||||
|
Reference in New Issue
Block a user