From 41bc92dab911abaa65f3c3b639da0e3cf007ce4f Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Tue, 4 Jun 2019 10:57:17 -0400 Subject: [PATCH] Properly redirect to teams.private instead of teams.new (#1016) * Properly redirect to `teams.private` instead of `teams.new` --- CTFd/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CTFd/auth.py b/CTFd/auth.py index ab4b4484..c9370317 100644 --- a/CTFd/auth.py +++ b/CTFd/auth.py @@ -242,7 +242,7 @@ def register(): db.session.close() if is_teams_mode(): - return redirect(url_for("teams.new")) + return redirect(url_for("teams.private")) return redirect(url_for("challenges.listing")) else: