mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Simplified #30 fix.
This commit is contained in:
parent
34ccb3546d
commit
6212b643ec
1 changed files with 2 additions and 3 deletions
|
@ -71,9 +71,8 @@ def authenticate(project_id=None):
|
||||||
if not project:
|
if not project:
|
||||||
# But if the user try to connect to an unexisting project, we will
|
# But if the user try to connect to an unexisting project, we will
|
||||||
# propose him a link to the creation form.
|
# propose him a link to the creation form.
|
||||||
if not project_id:
|
if request.method == "POST":
|
||||||
if request.method == "POST":
|
form.validate()
|
||||||
form.validate()
|
|
||||||
else:
|
else:
|
||||||
create_project = project_id
|
create_project = project_id
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue