You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-06-23 04:38:12 +02:00
Fixed logging out not redirect correctly in reverse proxy (#414)
* Remove check due to logout always success * Added console log * Remove console.log * Up server version
This commit is contained in:
@ -43,11 +43,8 @@
|
||||
};
|
||||
|
||||
const logOut = async () => {
|
||||
const res = await fetch('auth/logout', { method: 'POST' });
|
||||
|
||||
if (res.status == 200 && res.statusText == 'OK') {
|
||||
goto('/auth/login');
|
||||
}
|
||||
await fetch('auth/logout', { method: 'POST' });
|
||||
goto('/auth/login');
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user