Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed May 16, 2024
1 parent 96e33a9 commit 1e9c441
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/controllers/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function actionForget()
$rr->message = 'Не удалось выполнить запрос на восстановление пароля';
}

return (array)$rr;
return $rr;

} else {
if (\Yii::$app->request->isPost) {
Expand Down Expand Up @@ -165,7 +165,7 @@ public function actionLogin()
$rr->message = 'Не удалось авторизоваться';
}

return (array)$rr;
return $rr;

} else {
if (\Yii::$app->request->isPost) {
Expand Down Expand Up @@ -218,7 +218,7 @@ public function actionRegister()
$rr->message = 'Не удалось зарегистрироваться';
}

return (array)$rr;
return $rr;

} else {
if (\Yii::$app->request->isPost) {
Expand Down Expand Up @@ -291,7 +291,7 @@ public function actionRegisterByEmail()
$rr->message = 'Не удалось зарегистрироваться';
}

return (array)$rr;
return $rr;

}

Expand Down Expand Up @@ -344,7 +344,7 @@ public function actionResetPassword()
$rr->message = 'Ошибка, скорее всего данная ссылка уже устарела';
}

return $this->render('reset-password', (array)$rr);
return $this->render('reset-password', $rr);
}


Expand Down Expand Up @@ -509,7 +509,7 @@ public function actionAuthByPhone()
}
}

return (array)$rr;
return $rr;
}


Expand Down Expand Up @@ -605,7 +605,7 @@ public function actionAuthByCallcheckPhone()
}
}

return (array)$rr;
return $rr;
}


Expand Down Expand Up @@ -666,7 +666,7 @@ public function actionAuthByPhonePassword()
}
}

return (array)$rr;
return $rr;
}

public function actionAuthByCallcheckPhonePassword()
Expand Down Expand Up @@ -721,7 +721,7 @@ public function actionAuthByCallcheckPhonePassword()
}
}

return (array)$rr;
return $rr;
}


Expand Down Expand Up @@ -1047,7 +1047,7 @@ public function actionAuthByEmail()
}
}

return (array)$rr;
return $rr;
}

/**
Expand Down Expand Up @@ -1105,7 +1105,7 @@ public function actionAuthByEmailPassword()
}
}

return (array)$rr;
return $rr;
}

/**
Expand Down

0 comments on commit 1e9c441

Please sign in to comment.