MAPG-69 ability to cancel Google signup
This commit is contained in:
1 parent
1cfbef418e
commit
6338e35cfb
3 files changed
+21
-3
No files matched your search
@@ -299,6 +299,14 @@ class LoginController
|
||||
return new JsonContent($data);
|
||||
}
|
||||
|
||||
public function resetGoogleSignup(): IContent
|
||||
{
|
||||
$this->request->session()->delete('google_user_data');
|
||||
|
||||
$data = ['success' => true];
|
||||
return new JsonContent($data);
|
||||
}
|
||||
|
||||
public function activate()
|
||||
{
|
||||
if ($this->request->user() !== null) {
|
||||
|
||||
Reference in new issue
Block a user