Sign out only if request for user data returns 401
This commit is contained in:
parent
671ef19cdc
commit
b280a42804
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user