datasquirel/dist/client/auth/post-login.d.ts
Benjamin Toby 6593047efd Updates
2025-04-18 12:06:15 +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;