Now throwing an exception if login fails.

このコミットが含まれているのは:
Gergely Polonkai 2012-12-20 19:13:08 +01:00
コミット fdde9b5bfa
1個のファイルの変更2行の追加0行の削除

ファイルの表示

@ -38,6 +38,8 @@ class Sender
{
if ($this->sender->login($this->container->getParameter('username'), $this->container->getParameter('password')) === true) {
$this->loggedIn = true;
} else {
throw new \RuntimeException('Unable to login to gateway!');
}
}