diff --git a/messages.pot b/messages.pot
index edbc2caf46e..d9c13351a50 100644
--- a/messages.pot
+++ b/messages.pot
@@ -182,9 +182,6 @@ msgstr ""
msgid "agree_invalid"
msgstr ""
-msgid "agree_third_party"
-msgstr ""
-
msgid "agree_with"
msgstr ""
diff --git a/templates/admin/admin-users.html b/templates/admin/admin-users.html
index 78dd7b9b541..3068b305a65 100644
--- a/templates/admin/admin-users.html
+++ b/templates/admin/admin-users.html
@@ -145,7 +145,6 @@
Total amount of shown users: {{ users|length }}
-
diff --git a/templates/profile.html b/templates/profile.html
index e25dcf128e6..f9fd797a5cc 100644
--- a/templates/profile.html
+++ b/templates/profile.html
@@ -142,10 +142,6 @@ {{_('settings')}}
{% endfor %}
-
-
-
-
diff --git a/website/admin.py b/website/admin.py
index 184ad824088..907b93627ed 100644
--- a/website/admin.py
+++ b/website/admin.py
@@ -72,7 +72,6 @@ def get_admin_users_page(self, user):
"experience_languages",
"language",
"keyword_language",
- "third_party",
]
for user in users:
@@ -80,7 +79,6 @@ def get_admin_users_page(self, user):
data["email_verified"] = not bool(data["verification_pending"])
data["is_teacher"] = bool(data["is_teacher"])
data["teacher_request"] = True if data["teacher_request"] else None
- data["third_party"] = True if data["third_party"] else None
data["created"] = utils.timestamp_to_date(data["created"])
data["last_login"] = utils.timestamp_to_date(data["last_login"]) if data.get("last_login") else None
if category == "language":
diff --git a/website/auth_pages.py b/website/auth_pages.py
index 665798f19d5..f23fde8b14f 100644
--- a/website/auth_pages.py
+++ b/website/auth_pages.py
@@ -431,7 +431,6 @@ def store_new_account(self, account, email):
"keyword_language": account["keyword_language"],
"created": timems(),
"teacher_request": True if account.get("is_teacher") else None,
- "third_party": True if account.get("agree_third_party") else None,
"verification_pending": hashed_token,
"last_login": timems(),
}
diff --git a/website/profile.py b/website/profile.py
index cdb9352f63a..fdd14188fa4 100644
--- a/website/profile.py
+++ b/website/profile.py
@@ -116,10 +116,6 @@ def update_profile(self, user):
updates[field] = body[field]
else:
updates[field] = None
- if body.get("agree_third_party"):
- updates["third_party"] = True
- else:
- updates["third_party"] = None
if updates:
self.db.update_user(username, updates)
@@ -146,7 +142,7 @@ def get_profile(self, user):
user = self.db.user_by_username(user["username"])
output = {"username": user["username"], "email": user["email"], "language": user.get("language", "en")}
- for field in ["birth_year", "country", "gender", "prog_experience", "experience_languages", "third_party"]:
+ for field in ["birth_year", "country", "gender", "prog_experience", "experience_languages"]:
if field in user:
output[field] = user[field]
if "verification_pending" in user: