From ae738cc3987a281386ed928f9131cf7a7dbdda64 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 16 Jun 2014 12:25:30 -0400 Subject: Add External form auth plugin This plugin uses mod_intercept_form_submit to perform authentication. Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- ipsilon/util/page.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipsilon/util/page.py') diff --git a/ipsilon/util/page.py b/ipsilon/util/page.py index e90ec2d..aad91fc 100755 --- a/ipsilon/util/page.py +++ b/ipsilon/util/page.py @@ -40,7 +40,7 @@ class Page(object): self._site = site self.basepath = cherrypy.config.get('base.mount', "") self.user = None - self.form = form + self._is_form_page = form def _compare_urls(self, url1, url2): u1 = unquote(url1) @@ -58,7 +58,7 @@ class Page(object): if callable(op) and getattr(self, args[0]+'.exposed', None): return op(*args[1:], **kwargs) else: - if self.form: + if self._is_form_page: self._debug("method: %s" % cherrypy.request.method) op = getattr(self, cherrypy.request.method, None) if callable(op): -- cgit