#NEWLINE# @ receiver ( email_confirmed ) #NEWLINE# def sync_email_verified( request , email_address , **kwargs ) : #NEWLINE# #INDENT# "\n    Upon email verification, sync allauth's EmailAddress.verified\n    with FruitUser.is_email_verified\n    " #NEWLINE# fruit_user = email_address . user #NEWLINE# if ( fruit_user . email == email_address . email ) : #NEWLINE# #INDENT# fruit_user . is_email_verified = True #NEWLINE# fruit_user . save ( )