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:
parent
d584391929
commit
03bb52f4c1
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue