|
@@ -108,6 +108,7 @@ class AuthorizationsController extends Controller
|
|
throw new Exception($validator->messages()->first());
|
|
throw new Exception($validator->messages()->first());
|
|
}
|
|
}
|
|
$res = $this->do_login($request->mobile,$request->password,$request->registrationId,$request->phoneModel);
|
|
$res = $this->do_login($request->mobile,$request->password,$request->registrationId,$request->phoneModel);
|
|
|
|
+ file_put_contents('login_log.log',date("Y-m-d H:i:s").var_export($res,true).PHP_EOL,FILE_APPEND);
|
|
}catch (\Exception $exception){
|
|
}catch (\Exception $exception){
|
|
return $this->response->errorForbidden($exception->getMessage());
|
|
return $this->response->errorForbidden($exception->getMessage());
|
|
}
|
|
}
|