From b2d9e71e75ee4dc1f5a65a529136802aebc3c6ee Mon Sep 17 00:00:00 2001 From: Sean Burlington Date: Tue, 9 Jan 2024 13:16:28 +0000 Subject: [PATCH] Update authentication.md let the developer know they need to install formik to run this example --- .../dev-docs/backend-customization/examples/authentication.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docusaurus/docs/dev-docs/backend-customization/examples/authentication.md b/docusaurus/docs/dev-docs/backend-customization/examples/authentication.md index 670fbaf6e4..1f523bca33 100644 --- a/docusaurus/docs/dev-docs/backend-customization/examples/authentication.md +++ b/docusaurus/docs/dev-docs/backend-customization/examples/authentication.md @@ -65,6 +65,8 @@ Additional information about JWT authentication can be found in the [Users & Per To achieve this, in the `/client` folder of the [FoodAdvisor](https://github.com/strapi/foodadvisor) project, you could create a `pages/auth/login.js` file that contains the following example code. Highlighted lines show the request sent to the `/auth/local` route provided by Strapi's Users & Permissions plugin: +This file uses the formik package - install it using `yarn add formik` and restart the dev server + ```jsx title="/client/pages/auth/login.js" {21-27} import React from 'react';