api, frontend: restrict profile updates to commento provider

This commit is contained in:
Adhityaa Chandrasekar committed 2020-02-13 20:11:47 -05:00
1 parent b7c214e910
commit 986b05f89a
3 files changed
+7 -3

No files matched your search

+3 -1
View File
@@ -314,7 +314,9 @@
append(loggedInAs, name);
append(loggedContainer, loggedInAs);
append(loggedContainer, logoutButton);
append(loggedContainer, profileEditButton);
if (commenter.provider === "commento") {
append(loggedContainer, profileEditButton);
}
append(loggedContainer, notificationSettingsButton);
prepend(root, loggedContainer);