wizard has multi_user_mode support
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.7 (2012-03-28 11:59:12) dev
|
Version 1.99.7 (2012-03-28 16:46:53) dev
|
||||||
|
|||||||
@@ -437,7 +437,10 @@ def create(options):
|
|||||||
redirect(URL('step6'))
|
redirect(URL('step6'))
|
||||||
params = dict(session.app['params'])
|
params = dict(session.app['params'])
|
||||||
app = session.app['name']
|
app = session.app['name']
|
||||||
if not app_create(app,request,force=True,key=params['security_key']):
|
if app_create(app,request,force=True,key=params['security_key']):
|
||||||
|
if MULTI_USER_MODE:
|
||||||
|
db.app.insert(name=app,owner=auth.user.id)
|
||||||
|
else:
|
||||||
session.flash = 'Failure to create application'
|
session.flash = 'Failure to create application'
|
||||||
redirect(URL('step6'))
|
redirect(URL('step6'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user