diff --git a/budget/web.py b/budget/web.py index 3527a75..7376135 100644 --- a/budget/web.py +++ b/budget/web.py @@ -71,9 +71,8 @@ def authenticate(project_id=None): if not project: # But if the user try to connect to an unexisting project, we will # propose him a link to the creation form. - if not project_id: - if request.method == "POST": - form.validate() + if request.method == "POST": + form.validate() else: create_project = project_id