Re: JWT Authentication with Djoser

2024-02-16 Thread Eleuthere Aluma
Essaye .. Le jeu. 15 févr. 2024 à 18:37, MISHEL HANNA a écrit : > hello > i want to make api for register but i want modify the way of email > activation > in djoser to activate email it done by uuid/token but i do not want it to > be done like that > i want to activate the email by verification

Re: JWT Authentication with Djoser

2024-02-16 Thread Benjamini Athanas
try this # Custom Djoser serializer from djoser.serializers import UserCreateSerializer class CustomUserCreateSerializer(UserCreateSerializer): def perform_create(self, serializer): user = serializer.save() # Generate verification code and send email verification_code =

JWT Authentication with Djoser

2024-02-15 Thread MISHEL HANNA
hello i want to make api for register but i want modify the way of email activation in djoser to activate email it done by uuid/token but i do not want it to be done like that i want to activate the email by verification code do you have any suggestions or any other libraries i can use it -- Y