// NS: >>> OUT\r
$this->ns_writeln("OUT");\r
@fclose($this->NSfp);\r
- $this->error = 'Passport authenticated fail!';\r
+ $this->error = 'Passport authentication failed!';\r
return false;\r
}\r
\r
}\r
\r
// Update contacts\r
- if ($this->UpdateContacts() === false) continue;\r
+ if ($this->UpdateContacts() === false) {\r
+ $this->signonFailure('');\r
+ continue;\r
+ }\r
\r
// Get membership lists\r
if (($this->aContactList = $this->getMembershipList()) === false) {\r
* @return void\r
*/\r
private function signonFailure($message) {\r
- $this->debug_message($message);\r
+ if(!empty($message)) {\r
+ $this->debug_message($message);\r
+ }\r
$this->callHandler('ConnectFailed');\r
$this->NSRetryWait($this->retry_wait);\r
}\r