Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17bf9f13 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Fix auth token store policy

parent 60e657d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }