1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Do not loop-redirect on authenticate.

This commit is contained in:
Alexis Metaireau 2011-08-21 02:23:53 +02:00
parent d584391929
commit 03bb52f4c1

View file

@ -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)