Fix auth token store policy

This commit is contained in:
mar-v-in 2015-03-10 00:35:47 +01:00
parent 60e657d343
commit 17bf9f136e
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public class AuthManager {
setAuthToken("LSID", response.LSid);
if (response.expiry > 0)
setExpiry(response.expiry);
if (response.auth != null && response.expiry != 0 && response.storeConsentRemotely)
if (response.auth != null && (response.expiry != 0 || response.storeConsentRemotely))
setAuthToken(response.auth);
}