Internally inviteUserByEmail is not reading .data.custom_value when sending invitation email. #1370
Open
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
We have before insert trigger on top of the
auth.users
that is adding custom variables intoraw_user_meta_data
field. When theinviteUserByEmail
function is triggered, Invite user email is sent, but {{ .Data.custom_variable }} is empty <- this is the bugTo Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
NEW.raw_user_meta_data['custom_variable'] = to_jsonb('Custom text'::text);
Expected behavior
The invite email should have somewhere text "Custom text". But there will be nothing.
The text was updated successfully, but these errors were encountered: