Преглед изворни кода

email重複チェック修正

develop
sosuke.iwabuchi пре 1 година
родитељ
комит
daf721f1eb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      app/Logics/LoginUser/LoginUserLogic.php

+ 1
- 1
app/Logics/LoginUser/LoginUserLogic.php Прегледај датотеку

@@ -42,7 +42,7 @@ class LoginUserLogic

private function checkEmailForCreate()
{
if (User::whereEmail($this->user)
if (User::whereEmail($this->user->email)
->exists()
) {
ParamException::throw(User::COL_NAME_EMAIL, trans('validation.unique'));


Loading…
Откажи
Сачувај