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