This commit is contained in:
Claude Brisson
2023-12-26 14:16:29 +01:00
parent 22694f47f2
commit 31f2a1b928

View File

@@ -8,6 +8,7 @@
</form>
</div>
<script type="text/javascript">
// #[[
onLoad(()=>{
$('#login-form').on('submit', e => {
api.postJson('login', { sesame: $('input[name="sesame"]')[0].value })
@@ -20,4 +21,5 @@
return false;
});
});
// ]]#
</script>