Skip to content

Commit acb864a

Browse files
committed
fix: fix supabase security warning for custom_access_token_hook function
1 parent 63fb8af commit acb864a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ CREATE POLICY "user can read own roles" ON "user_roles" AS PERMISSIVE FOR SELECT
6969
create or replace function public.custom_access_token_hook(event jsonb)
7070
returns jsonb
7171
language plpgsql
72+
set search_path = ''
7273
stable
7374
as $$
7475
declare

0 commit comments

Comments
 (0)