mirror of
https://github.com/sct/overseerr.git
synced 2025-12-24 07:51:12 +01: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 {
|
||||
const response = await axios.post('/api/v1/auth/login', { authToken });
|
||||
|
||||
if (response.data?.email) {
|
||||
if (response.data?.id) {
|
||||
revalidate();
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user