Skip to content

Commit

Permalink
Fix dbAuth allowUserFields initialization syntax (#9780)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Dec 30, 2023
1 parent 1e2877c commit 84d69af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export const handler = async (
// client when invoking a handler that returns a user (like forgotPassword
// and signup). This list should be as small as possible to be sure not to
// leak any sensitive information to the client.
allowedUserFields = ['id', 'email'],
allowedUserFields: ['id', 'email'],

// Specifies attributes on the cookie that dbAuth sets in order to remember
// who is logged in. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#restrict_access_to_cookies
Expand Down

0 comments on commit 84d69af

Please sign in to comment.