From 6f549b26150b0af9d9a20ff9e4dc7f0f7aaff45a Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Wed, 29 May 2024 19:54:56 +0200 Subject: [PATCH] Fix puk setting in modemmanager interface --- .../htdocs/luci-static/resources/protocol/modemmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js b/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js index 9b144273d..34ba3e1b8 100644 --- a/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js +++ b/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js @@ -77,7 +77,7 @@ return network.registerProtocol('modemmanager', { o.datatype = 'and(uinteger,minlength(4),maxlength(8))'; o = s.taboption('general', form.Value, 'pukcode', _('PUK')); - o.datatype = 'and(uinteger,minlength(8),maxlength(8))'; + o.datatype = "uinteger"; o = s.taboption('general', form.ListValue, 'auth', _('Authentication Type')); o.value('both', _('PAP/CHAP (both)'));