mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Добавлена страница с отправкой письма для восстановления пароля от аккаунта
This commit is contained in:
@ -126,6 +126,7 @@ class OauthController extends Controller {
|
||||
|
||||
if (!$account->canAutoApprove($clientModel, $authParams['scopes'])) {
|
||||
$isAccept = Yii::$app->request->post('accept');
|
||||
$isAccept = null;
|
||||
if ($isAccept === null) {
|
||||
throw new AcceptRequiredException();
|
||||
}
|
||||
|
Reference in New Issue
Block a user