You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to override this class to allow adding other custom fields?
e.g. In my case is an administrator who register the user email. I already modified the send_email_with_callback_token function to include the token into a link but I also want to be able to add other custom codes to the link so that the user will be redirected appropriately based on the administrator wishes.
How do I override this class to add some more serialisers fields? Thanks.
you can inherit EmailAuthSerializer and make your serializer.
i also implement like this. then I override view and make my own url and it worked really fine
Is it possible to override this class to allow adding other custom fields?
e.g. In my case is an administrator who register the user email. I already modified the
send_email_with_callback_token
function to include the token into a link but I also want to be able to add other custom codes to the link so that the user will be redirected appropriately based on the administrator wishes.How do I override this class to add some more serialisers fields? Thanks.
The text was updated successfully, but these errors were encountered: