Добавлен обработчик для удаления сессии при логауте

This commit is contained in:
ErickSkrauch
2016-07-17 19:38:04 +03:00
parent 2063d7daa0
commit ae3c3b88de
5 changed files with 128 additions and 0 deletions

View File

@@ -22,6 +22,11 @@ class AuthenticationRoute extends BasePage {
$this->actor->sendPOST($this->getUrl(), $params);
}
public function logout() {
$this->route = ['authentication/logout'];
$this->actor->sendPOST($this->getUrl());
}
public function forgotPassword($login = '') {
$this->route = ['authentication/forgot-password'];
$this->actor->sendPOST($this->getUrl(), [