Skip to content

Commit 059fa46

Browse files
committed
Port #1970
1 parent a1020f9 commit 059fa46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docusaurus/docs/dev-docs/backend-customization/examples/authentication.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ Additional information about JWT authentication can be found in the [Users & Per
6565

6666
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:
6767

68+
This file uses the formik package - install it using `yarn add formik` and restart the dev server.
69+
6870
```jsx title="/client/pages/auth/login.js" {21-27}
6971

7072
import React from 'react';

0 commit comments

Comments
 (0)