diff options
author | Simo Sorce <simo@redhat.com> | 2014-06-16 12:25:30 -0400 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-08-27 16:32:20 -0400 |
commit | ae738cc3987a281386ed928f9131cf7a7dbdda64 (patch) | |
tree | ba5e6497d6db4ec123521ea809efa23d596124a8 /ipsilon/util | |
parent | 34bb81a826d023ce39714e1a6e027b19cf96a5fd (diff) | |
download | ipsilon-ae738cc3987a281386ed928f9131cf7a7dbdda64.tar.gz ipsilon-ae738cc3987a281386ed928f9131cf7a7dbdda64.tar.xz ipsilon-ae738cc3987a281386ed928f9131cf7a7dbdda64.zip |
Add External form auth plugin
This plugin uses mod_intercept_form_submit to perform authentication.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/util')
-rwxr-xr-x | ipsilon/util/page.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |