mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Внедрена валидация OTP в процесс восстановления пароля
This commit is contained in:
@@ -35,10 +35,11 @@ class AuthenticationRoute extends BasePage {
|
||||
$this->actor->sendPOST($this->getUrl());
|
||||
}
|
||||
|
||||
public function forgotPassword($login = '') {
|
||||
public function forgotPassword($login = null, $token = null) {
|
||||
$this->route = ['authentication/forgot-password'];
|
||||
$this->actor->sendPOST($this->getUrl(), [
|
||||
'login' => $login,
|
||||
'token' => $token,
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user