Track Logged In and Logged Out events
This commit is contained in:
@@ -60,6 +60,8 @@ class AuthController extends AbstractController
|
||||
// We probably wan't to add support for "Remember me" here.
|
||||
Auth::attempt(Binput::only(['email', 'password']));
|
||||
|
||||
segment_track('Logged In');
|
||||
|
||||
return Redirect::intended('dashboard');
|
||||
}
|
||||
|
||||
@@ -120,6 +122,8 @@ class AuthController extends AbstractController
|
||||
{
|
||||
Auth::logout();
|
||||
|
||||
segment_track('Logged Out');
|
||||
|
||||
return Redirect::to('/');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user