web: only delete channels, notes, keys and certs on POST
This commit is contained in:
1 parent
9962274521
commit
8dc96ae08c
9 files changed
+124
-10
No files matched your search
@@ -375,7 +375,9 @@ class CSSLClientCertMod : public CModule {
|
||||
WebSock.Redirect(GetWebPath());
|
||||
return true;
|
||||
} else if (sPageName == "delete") {
|
||||
DelKey(*pUser, WebSock.GetParam("key", false));
|
||||
if (WebSock.IsPost()) {
|
||||
DelKey(*pUser, WebSock.GetParam("key"));
|
||||
}
|
||||
WebSock.Redirect(GetWebPath());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user