feat: add logout functionality with dropdown menu for user authentication
This commit is contained in:
@@ -7,3 +7,7 @@ export async function login(loginRequest: LoginRequest): Promise<User> {
|
||||
})
|
||||
return data
|
||||
}
|
||||
|
||||
export async function logout() {
|
||||
await WebClient.get<void>("/auth/logout")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user