mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
add prefix "_" to "named" IDs
This commit is contained in:
@@ -95,7 +95,7 @@ export default class Entrypoints extends Component {
|
||||
|
||||
logoutCommand() {
|
||||
const $logoutForm = $('<form action="logout" method="POST">')
|
||||
.append($(`<input type="hidden" name="_csrf" value="${glob.csrfToken}"/>`));
|
||||
.append($(`<input type='_hidden' name="_csrf" value="${glob.csrfToken}"/>`));
|
||||
|
||||
$("body").append($logoutForm);
|
||||
$logoutForm.trigger('submit');
|
||||
|
||||
Reference in New Issue
Block a user