api, frontend: restrict profile updates to commento provider

This commit is contained in:
Adhityaa Chandrasekar
2020-02-13 20:11:47 -05:00
parent b7c214e910
commit 986b05f89a
3 changed files with 7 additions and 3 deletions

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