Refactor global code in configuration module

This commit is contained in:
Sunil Mohan Adapa committed 2014-06-23 12:22:46 +02:00
1 parent d9bebe67f5
commit f4fe85ae28
3 files changed
+60 -34

No files matched your search

-2
View File
@@ -6,8 +6,6 @@ from passlib.exc import PasswordSizeError
import cfg
from model import User
cfg.session_key = '_username'
def add_user(username, passphrase, name='', email='', expert=False):
"""Add a new user with specified username and passphrase.