diff --git a/assets/scripts/app/auth.coffee b/assets/scripts/app/auth.coffee index d899d288..92ecbb25 100644 --- a/assets/scripts/app/auth.coffee +++ b/assets/scripts/app/auth.coffee @@ -83,7 +83,7 @@ @storeData(data, Travis.sessionStorage) @storeData(data, Travis.storage) , (data, status, xhr) => - @signOut() + @signOut() if xhr.status == 401 signedIn: -> @get('state') == 'signed-in'