Fix some typos

master
Pierre Jaury 9 years ago
parent 0f1c4b08b4
commit 77d426e084

@ -1,4 +1,4 @@
from freeposte import db, models from freeposte.admin import db, models
from passlib import hash from passlib import hash
@ -10,7 +10,7 @@ user = models.User(
localpart="admin", localpart="admin",
domain=domain, domain=domain,
global_admin=True, global_admin=True,
password=hash.sha512_crypt.encrypt("admin"). password=hash.sha512_crypt.encrypt("admin")
) )
db.session.add(domain) db.session.add(domain)

@ -2,4 +2,4 @@ from freeposte import app, db
if __name__ == '__main__': if __name__ == '__main__':
app.run() app.run(debug=True)

Loading…
Cancel
Save