From c67b4eea0a2e5ec5e0c64edb232fe2bb1d8907cd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 29 Sep 2022 16:16:35 +0200 Subject: [PATCH] limit new users following carp to WPD --- files/routes/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/login.py b/files/routes/login.py index 22bd8712e..c015b004b 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -372,7 +372,7 @@ def sign_up_post(v): session["lo_user"] = new_user.id - if CARP_ID: + if SITE == 'watchpeopledie.co': carp = get_account(CARP_ID) new_follow = Follow(user_id=new_user.id, target_id=carp.id) g.db.add(new_follow)