datasquirel/dist/client/auth/post-login.d.ts
Benjamin Toby 2118a55ab6 Updates
2025-01-14 09:07:00 +01:00

10 lines
436 B
TypeScript

import { APILoginFunctionReturn } from "../../package-shared/types";
/**
* Client Setup After Login
* ===============================================================================
* @description This function sets local storage variables like `csrf` after a user
* is logged in. Use this in conjunction with the `datasquirel.user.loginUser`
* function
*/
export default function postLogin(res: APILoginFunctionReturn): boolean;