Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ucenter
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7220ba08
authored
Jan 17, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化盐判断
parent
23e6620a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
app/Http/Controllers/Api/AuthController.php
app/Http/Kernel.php
app/Http/Controllers/Api/AuthController.php
View file @
7220ba08
...
@@ -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
]);
}
}
...
...
app/Http/Kernel.php
View file @
7220ba08
...
@@ -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,
];
];
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment