Import right stuff from model, remove testing thing.
This commit is contained in:
parent
d42c1ca9f5
commit
4477c5a229
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,7 @@ import subprocess
|
|||
|
||||
from fas.model import People
|
||||
from fas.model import PersonEmails
|
||||
from fas.model import EmailPurposes
|
||||
from fas.model import Log
|
||||
|
||||
from fas.auth import *
|
||||
|
@ -316,7 +317,6 @@ class User(controllers.Controller):
|
|||
|
||||
newpass = generate_password()
|
||||
message = turbomail.Message(config.get('accounts_mail'), person.emails['primary'], _('Welcome to the Fedora Project!'))
|
||||
HERE
|
||||
message.plain = _('''
|
||||
You have created a new Fedora account!
|
||||
Your new password is: %s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue