9 lines
254 B
TypeScript
9 lines
254 B
TypeScript
/**
|
|
* Logout (clear the token).
|
|
* This is a placeholder function since JWTs are stateless.
|
|
* In a real app, you might want to implement token blacklisting.
|
|
*/
|
|
export function logout(): {message: string} {
|
|
return {message: "Logout successful"};
|
|
}
|