Commit a61a8074 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

REFACTOR: remove unused line

parent 56c30b69
Pipeline #13449 passed with stage
in 4 minutes and 13 seconds
...@@ -600,7 +600,7 @@ class UsersController extends AppController ...@@ -600,7 +600,7 @@ class UsersController extends AppController
return $this->redirect("/$lang/users/add?t1=". $this->addUserCreateTokens()); return $this->redirect("/$lang/users/add?t1=". $this->addUserCreateTokens());
} }
$dataToken = $this->request->session()->read('CreateUserAntiSpam'); // Process form data
if ($this->request->is('post')) { if ($this->request->is('post')) {
// Check that it's not a robot (expected token and speed submit), expect for json API // Check that it's not a robot (expected token and speed submit), expect for json API
if (!$this->request->is('json')) { if (!$this->request->is('json')) {
......
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 to comment