From b4ead7d077786f35dfd85aee601bc39431a43fc6 Mon Sep 17 00:00:00 2001 From: Joel Margolis Date: Sun, 16 Aug 2015 13:17:24 -0400 Subject: [PATCH] return updates response if not forcing login and auth data exists --- src/snapchat.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/snapchat.php b/src/snapchat.php index aa7ae40..4206274 100644 --- a/src/snapchat.php +++ b/src/snapchat.php @@ -411,8 +411,11 @@ public function login($password, $force = FALSE) } return $result; - } else { - $this->openAppEvent(); + } + else + { + $this->openAppEvent(); + return $this->device(); } }