このコミットが含まれているのは:
守矢諏訪子 2021-11-10 16:41:29 +09:00
コミット 60034986b5
1個のファイルの変更3行の追加1行の削除

ファイルの表示

@ -472,9 +472,11 @@ https://kikikan.jp/c-account/forgot-password/reset/'.$token;
}
if (isset($r->token)) {
if (null === (TelActivation::select('id')->where('token', $r->token)->first())) {
if (null === ($ta = TelActivation::select('child_id')->where('token', $r->token)->first())) {
return ['status_code' => 400, 'error_messages' => ['パスワードの更新に失敗しました。']];
}
$child_id = $ta->child_id;
}
// バリデーションエラー