mirror of
https://github.com/sct/overseerr.git
synced 2025-09-29 13:33:26 +02:00
fix(frontend): check for ID instead of email after initial setup Plex login (#1097)
This commit is contained in:
@@ -25,7 +25,7 @@ const LoginWithPlex: React.FC<LoginWithPlexProps> = ({ onComplete }) => {
|
||||
const login = async () => {
|
||||
const response = await axios.post('/api/v1/auth/plex', { authToken });
|
||||
|
||||
if (response.data?.email) {
|
||||
if (response.data?.id) {
|
||||
revalidate();
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user