fix for parameter option 'domain and send_email ' in reset_password