Added a welcome message from the docs team
This commit is contained in:
parent
672d3139fd
commit
696f4d8883
1 changed files with 37 additions and 4 deletions
|
@ -275,12 +275,45 @@ class User(controllers.Controller):
|
|||
person.password = '*'
|
||||
person.emails['primary'] = PersonEmails(email=email, purpose='primary')
|
||||
newpass = generate_password()
|
||||
message = turbomail.Message(config.get('accounts_mail'), person.emails['primary'].email, _('Fedora Project Password Reset'))
|
||||
message = turbomail.Message(config.get('accounts_mail'), person.emails['primary'].email, _('Welcome to the Fedora Project!'))
|
||||
message.plain = _(dedent('''
|
||||
You have created a new Fedora account!
|
||||
Your new password is: %s
|
||||
You have created a new Fedora account!
|
||||
Your new password is: %s
|
||||
|
||||
Please go to https://admin.fedoraproject.org/fas/ to change it.
|
||||
|
||||
Welcome to the Fedora Project. Now that you've signed up for an
|
||||
account you're probably desperate to start contributing, and with that
|
||||
in mind we hope this e-mail might guide you in the right direction to
|
||||
make this process as easy as possible.
|
||||
|
||||
Fedora is an exciting project with lots going on, and you can
|
||||
contribute in a huge number of ways, using all sorts of different
|
||||
skill sets. To find out about the different ways you can contribute to
|
||||
Fedora, you can visit our join page which provides more information
|
||||
about all the different roles we have available.
|
||||
|
||||
http://fedoraproject.org/en/join-fedora
|
||||
|
||||
If you already know how you want to contribute to Fedora, and have
|
||||
found the group already working in the area you're interested in, then
|
||||
there are a few more steps for you to get going.
|
||||
|
||||
Foremost amongst these is to sign up for the team or project's mailing
|
||||
list that you're interested in - and if you're interested in more than
|
||||
one group's work, feel free to sign up for as many mailing lists as
|
||||
you like! This is because mailing lists are where the majority of work
|
||||
gets organised and tasks assigned, so to stay in the loop be sure to
|
||||
keep up with the messages.
|
||||
|
||||
Once this is done, it's probably wise to send a short introduction to
|
||||
the list letting them know what experience you have and how you'd like
|
||||
to help. From here, existing members of the team will help you to find
|
||||
your feet as a Fedora contributor.
|
||||
|
||||
And finally, from all of us here at the Fedora Project, we're looking
|
||||
forward to working with you!
|
||||
|
||||
Please go to https://admin.fedoraproject.org/fas/ to change it.
|
||||
''') % newpass['pass'])
|
||||
turbomail.enqueue(message)
|
||||
person.password = newpass['pass']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue