diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-21 02:23:53 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-21 02:23:53 +0200 |
| commit | 03bb52f4c1ac22367b9a4f30604950c6666f5fd4 (patch) | |
| tree | 8228179ead5669c10eb5a05da7ee8c8936440618 | |
| parent | d584391929d0f47ebb0e6fd46e3ae800e590849f (diff) | |
| download | ihatemoney-mirror-03bb52f4c1ac22367b9a4f30604950c6666f5fd4.zip ihatemoney-mirror-03bb52f4c1ac22367b9a4f30604950c6666f5fd4.tar.gz ihatemoney-mirror-03bb52f4c1ac22367b9a4f30604950c6666f5fd4.tar.bz2 | |
Do not loop-redirect on authenticate.
| -rw-r--r-- | budget/web.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/budget/web.py b/budget/web.py index fdb33a9..e0bd60e 100644 --- a/budget/web.py +++ b/budget/web.py @@ -32,6 +32,8 @@ def add_project_id(endpoint, values): @app.url_value_preprocessor def pull_project(endpoint, values): + if endpoint == "authenticate": + return if not values: values = {} project_id = values.pop('project_id', None) |
