email/pass login with sqlite db

This commit is contained in:
Claude Brisson
2024-02-19 23:32:55 +01:00
parent 2f79f224a2
commit 999221de9d
10 changed files with 125 additions and 10 deletions

View File

@@ -114,7 +114,7 @@ HTMLFormElement.prototype.val = function(name, value) {
let tag = ctl.tagName;
let type = tag === 'INPUT' ? ctl.attr('type') : undefined;
if (
(tag === 'INPUT' && ['text', 'number', 'hidden'].includes(ctl.attr('type'))) ||
(tag === 'INPUT' && ['text', 'number', 'hidden', 'password'].includes(ctl.attr('type'))) ||
tag === 'SELECT'
) {
if (hasValue) {