Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Comptoir
Comptoir-srv
Commits
a61a8074
Commit
a61a8074
authored
Mar 23, 2021
by
Fabrice Gangler
🎨
Browse files
REFACTOR: remove unused line
parent
56c30b69
Pipeline
#13449
passed with stage
in 4 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Controller/Api/V1/UsersController.php
View file @
a61a8074
...
...
@@ -600,7 +600,7 @@ class UsersController extends AppController
return
$this
->
redirect
(
"/
$lang
/users/add?t1="
.
$this
->
addUserCreateTokens
());
}
$dataToken
=
$this
->
request
->
session
()
->
read
(
'CreateUserAntiSpam'
);
// Process form data
if
(
$this
->
request
->
is
(
'post'
))
{
// Check that it's not a robot (expected token and speed submit), expect for json API
if
(
!
$this
->
request
->
is
(
'json'
))
{
...
...
Write
Preview
Supports
Markdown
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