##// END OF EJS Templates
login: don't use mutable globals as defauls
marcink -
r78:e1849c1a default
parent child Browse files
Show More
@@ -187,7 +187,10 b' class LoginView(object):'
187 187 @view_config(
188 188 route_name='register', request_method='GET',
189 189 renderer='rhodecode:templates/register.html',)
190 def register(self, defaults={}, errors={}):
190 def register(self, defaults=None, errors=None):
191 defaults = defaults or {}
192 errors = errors or {}
193
191 194 settings = SettingsModel().get_all_settings()
192 195 captcha_public_key = settings.get('rhodecode_captcha_public_key')
193 196 captcha_private_key = settings.get('rhodecode_captcha_private_key')
General Comments 0
You need to be logged in to leave comments. Login now