Skip to content

Commit a886536

Browse files
committed
Fix Plex linking
Completely revert commits on PlexHelper.cs from Jan 3, 2025 because they break Plex linking. What wanted to be done there needs to be looked at again later. Fixes ShokoAnime#1222
1 parent e4db303 commit a886536

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Shoko.Server/Plex/PlexHelper.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,6 @@ public bool IsAuthenticated
167167
return isAuthenticated.GetValueOrDefault(false);
168168
}
169169

170-
// If key is not null, then we are trying to login. Plex token check should be skipped.
171-
if (_key == null && string.IsNullOrEmpty(_user?.PlexToken))
172-
{
173-
return false;
174-
}
175-
176170
try
177171
{
178172
isAuthenticated = RequestAsync("https://plex.tv/users/account.json", HttpMethod.Get,

0 commit comments

Comments
 (0)