mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
fix logout error
This commit is contained in:
parent
a30147547b
commit
5fc96cf5e1
@ -10,7 +10,7 @@ export default function LogoutPage({ disabled }) {
|
||||
|
||||
useEffect(() => {
|
||||
async function logout() {
|
||||
await post('/logout');
|
||||
await post('/auth/logout');
|
||||
}
|
||||
|
||||
if (!disabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user