Added @nodb where it is required

bzr revid: nicolas.vanhoren@openerp.com-20130611165947-36997uizrxtnore0
This commit is contained in:
niv-openerp 2013-06-11 18:59:47 +02:00
parent 70f16ce73b
commit f3bd6b3baf
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import logging
import openerp
from openerp.modules.registry import RegistryManager
from ..res_users import SignupError
from openerp.addons.web.http import nodb, noauth
_logger = logging.getLogger(__name__)
@ -30,6 +31,7 @@ class Controller(openerp.addons.web.http.Controller):
_cp_path = '/auth_signup'
@openerp.addons.web.http.jsonrequest
@nodb
def get_config(self, req, dbname):
""" retrieve the module config (which features are enabled) for the login page """
registry = RegistryManager.get(dbname)