user_management/utils/notifications.py
def password_reset_email_context(notification):
    """Email context to reset a user password."""
    return {
        'protocol': 'https',
        'uid': notification.user.generate_uid(),
        'token': notification.user.generate_token(),
        'site': notification.site,
    }
def password_reset_email_context(notification):
    return {
        'protocol': 'https',
        'uid': notification.user.generate_uid(),
        'token': notification.user.generate_token(),
        'site': notification.site,
    }
def password_reset_email_context ( notification ) : return { 'protocol' : 'https' , 'uid' : notification . user . generate_uid ( ) , 'token' : notification . user . generate_token ( ) , 'site' : notification . site , }
Email context to reset a user password.
Email context to reset a user password .