mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
fix(frontend): check for id instead of email after logging in
This commit is contained in:
@@ -37,7 +37,7 @@ const Login: React.FC = () => {
|
|||||||
try {
|
try {
|
||||||
const response = await axios.post('/api/v1/auth/login', { authToken });
|
const response = await axios.post('/api/v1/auth/login', { authToken });
|
||||||
|
|
||||||
if (response.data?.email) {
|
if (response.data?.id) {
|
||||||
revalidate();
|
revalidate();
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user