Skip to content

Commit

Permalink
Degrade warning about non-implemented roles to info
Browse files Browse the repository at this point in the history
This should not be cause for panic, it's merely information :)
  • Loading branch information
Philzen committed Aug 7, 2022
1 parent 1466997 commit fc2ddd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/chapter4/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ export const requireAuth = ({ roles }: { roles?: AllowedRoles } = {}) => {
</TabItem>
</Tabs>
:::caution
:::info
At this point of the tutorial we have **not added roles** to our user model yet, therefore you can ignore the `hasRole` method in `api/src/lib/auth.js` for now.
Expand Down

0 comments on commit fc2ddd3

Please sign in to comment.