Merge pull request #5 from j2ghz/patch-1

Fix non-persistent authentication
This commit is contained in:
Luke 2017-12-05 13:09:43 -05:00 committed by GitHub
commit 531e8d7938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -960,6 +960,7 @@ namespace Trakt.Api
traktUser.RefreshToken = userToken.refresh_token;
traktUser.PIN = null;
traktUser.AccessTokenExpiration = DateTime.Now.AddMonths(2);
Plugin.Instance.SaveConfiguration();
}
}