mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-20 07:14:24 +01:00
Properly redirect to teams.private instead of teams.new (#1016)
* Properly redirect to `teams.private` instead of `teams.new`
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user