git-send-email.txt: mention less secure app access with Gmail
Google may have changed Gmail security and now less secure app access needs to be explicitly enabled if two-factor authentication is not in place, otherwise send-email fails with: 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials Document steps required to make this work. Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> [dl: Clean up commit message and incorporate suggestions into patch.] Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasyl Vavrychuk committed
Jan 7, 2021 at 20:17 UTC
155067ab4f3ec8d7e38f7f86a3fcb446030afaac
1 file changed
+5
-1
Documentation/git-send-email.txt
+5
-1
@@ -494,10 +494,14 @@ edit ~/.gitconfig to specify your account settings:
494
smtpServerPort = 587
495
----
496
497
-If you have multifactor authentication setup on your gmail account, you will
497
+If you have multi-factor authentication set up on your Gmail account, you will
498
need to generate an app-specific password for use with 'git send-email'. Visit
499
https://security.google.com/settings/security/apppasswords to create it.
500
501
+If you do not have multi-factor authentication set up on your Gmail account,
502
+you will need to allow less secure app access. Visit
503
+https://myaccount.google.com/lesssecureapps to enable it.
504
+
505
Once your commits are ready to be sent to the mailing list, run the
506
following commands:
507