Commit 7220ba08 by 杨树贤

优化盐判断

parent 23e6620a
...@@ -20,7 +20,6 @@ class AuthController extends Controller ...@@ -20,7 +20,6 @@ class AuthController extends Controller
'salt', 'salt',
'init_org_id', 'init_org_id',
]); ]);
$user = UserService::register($data); $user = UserService::register($data);
return $this->setSuccessData(['uc_id' => $user['uc_id'], 'user' => $user]); return $this->setSuccessData(['uc_id' => $user['uc_id'], 'user' => $user]);
} }
......
...@@ -22,7 +22,7 @@ class Kernel extends HttpKernel ...@@ -22,7 +22,7 @@ class Kernel extends HttpKernel
\App\Http\Middleware\CheckForMaintenanceMode::class, \App\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class, \App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, //\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
]; ];
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment