limit new users following carp to WPD

master
Aevann1 2022-09-29 16:16:35 +02:00
parent 2a316301e2
commit c67b4eea0a
1 changed files with 1 additions and 1 deletions

View File

@ -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)