Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Provisioning new Accounts in Peninsula #212

Open
samuelnunoo opened this issue Nov 7, 2021 · 0 comments
Open

Issue with Provisioning new Accounts in Peninsula #212

samuelnunoo opened this issue Nov 7, 2021 · 0 comments

Comments

@samuelnunoo
Copy link
Member

Steps to Reproduce:
Create a new account

Outcome:

Traceback (most recent call last):
  File "/usr/local/sbin/piccolo", line 19, in <module>
    execute_command()
  File "/usr/local/piccolo/piccolo/commands/parser.py", line 122, in execute_command
    args.action(args) # perform selected action
  File "/usr/local/piccolo/piccolo/commands/users.py", line 9, in create
    User.create(args.username, args.full_name, args.email, suppress_welcome=args.no_email, fake_create=args.fake_create)
  File "/usr/local/piccolo/piccolo/users.py", line 135, in create
    new_user.send_email(email_subject, email_message)
  File "/usr/local/piccolo/piccolo/users.py", line 54, in send_email
    s.login(config.EMAIL['username'], config.EMAIL['password'])
  File "/usr/lib/python2.7/smtplib.py", line 622, in login
    raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (534, '5.7.9 Application-specific password required. Learn more at\n5.7.9  https://support.google.com/mail/?p=InvalidSecondFactor na13sm11756689pjb.11 - gsmtp')
$ sudo piccolo status```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant