This commit is contained in:
Benjamin Toby
2025-01-14 09:07:00 +01:00
parent 7551749784
commit 2118a55ab6
8 changed files with 62 additions and 15 deletions
+9
View File
@@ -0,0 +1,9 @@
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;