Skip to content

Commit

Permalink
[#2939] Change default on create user
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 11, 2012
1 parent a1e5188 commit 9b6969c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/auth/create.py
Expand Up @@ -91,7 +91,7 @@ def rating_create(context, data_dict):
def user_create(context, data_dict=None):
user = context['user']

if not asbool(config.get('ckan.auth.create_user', True)):
if not asbool(config.get('ckan.auth.create_user', False)):
return {'success': False, 'msg': _('User %s not authorized to create users') % user}
else:
return {'success': True}
Expand Down

0 comments on commit 9b6969c

Please sign in to comment.