]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/localauth/authentication.py
check whether the private and public ReCaptcha keys are importable, only if they...
[osqa.git] / forum_modules / localauth / authentication.py
index 770ea08f40b234ebe909f66dacf8eb4c7199cc8a..837b7560ff389d7dfa5a20f52631db3f2aadf617 100644 (file)
@@ -11,8 +11,9 @@ class LocalAuthConsumer(AuthenticationConsumer):
             raise InvalidAuthentication(" ".join(form_auth.errors.values()[0]))
 
 class LocalAuthContext(ConsumerTemplateContext):
-    mode = 'STACK_ITEM'
+    mode = 'STACK_ITEM'                      
     weight = 1000
     human_name = 'Local authentication'
     stack_item_template = 'modules/localauth/loginform.html'
-    show_to_logged_in_user = False
\ No newline at end of file
+    show_to_logged_in_user = False
+