fix: checking value of send_welcome_email (#9888)
fix: checking value of send_welcome_email (#9888)

* checking value of send_welcome_email

If send_welcome_email is set to 0 still it is triggering send_welcome_mail_to_user(). Need to check if send_welcome_email=1.
This is required.

* fix: cint(self.send_welcome_email) in user.py

Instead of checking self.send_welcome_email==1 used cint(self.send_welcome_email

Co-Authored-By: Chinmay Pai <ab3234b32bd9ecd2892f3eb0b557ab584a8ff0cf@gmail.com>

* chore: remove list from kwargs

Co-authored-by: Chinmay Pai <ab3234b32bd9ecd2892f3eb0b557ab584a8ff0cf@gmail.com>
frappe/frappe,almeidapaulopt/frappe,saurabh6790/frappe,saurabh6790/frappe,saurabh6790/frappe,mhbu50/frappe,adityahase/frappe,frappe/frappe,StrellaGroup/frappe,StrellaGroup/frappe,adityahase/frappe,yashodhank/frappe,almeidapaulopt/frappe,saurabh6790/frappe,mhbu50/frappe,adityahase/frappe,almeidapaulopt/frappe,StrellaGroup/frappe,mhbu50/frappe,almeidapaulopt/frappe,yashodhank/frappe,frappe/frappe,mhbu50/frappe,yashodhank/frappe,yashodhank/frappe,adityahase/frappe