MCPcopy Create free account
hub / github.com/Dyan-Dev/dyan / logout

Method logout

apps/backend/src/auth/auth.controller.ts:97–100  ·  view source on GitHub ↗
(@Res() res: Response)

Source from the content-addressed store, hash-verified

95
96 @Post('logout')
97 logout(@Res() res: Response) {
98 res.clearCookie('dyan-token');
99 return res.status(200).json({ message: 'Logged out successfully' });
100 }
101}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected