MAPG-69 ability to reset signup filled after login attempt
This commit is contained in:
1 parent
285f2dd0ac
commit
a8777b897b
5 files changed
+31
-2
No files matched your search
@@ -291,6 +291,14 @@ class LoginController
|
||||
return new JsonContent($data);
|
||||
}
|
||||
|
||||
public function resetSignup(): IContent
|
||||
{
|
||||
$this->request->session()->delete('tmp_user_data');
|
||||
|
||||
$data = ['success' => true];
|
||||
return new JsonContent($data);
|
||||
}
|
||||
|
||||
public function activate()
|
||||
{
|
||||
if ($this->request->user() !== null) {
|
||||
|
||||
Reference in new issue
Block a user