mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat: logout route/sign out button (#54)
This commit is contained in:
@@ -16,7 +16,7 @@ const Login: React.FC = () => {
|
||||
const login = async () => {
|
||||
const response = await axios.post('/api/v1/auth/login', { authToken });
|
||||
|
||||
if (response.data?.status === 'OK') {
|
||||
if (response.data?.email) {
|
||||
revalidate();
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user