o = s.taboption('general', form.Value, 'pincode', _('PIN'));
o.datatype = 'and(uinteger,minlength(4),maxlength(8))';
- o = s.taboption('general', form.ListValue, 'auth', _('Authentication Type'));
- o.value('both', _('PAP/CHAP (both)'));
+ o = s.taboption('general', form.DynamicList, 'allowedauth', _('Authentication Type'));
o.value('pap', 'PAP');
o.value('chap', 'CHAP');
- o.value('none', _('None'));
+ o.value('mschap', 'MSCHAP');
+ o.value('mschapv2', 'MSCHAPv2');
+ o.value('eap', 'EAP');
+ o.value('', _('None'));
o.default = 'none';
o = s.taboption('general', form.ListValue, 'allowedmode', _('Allowed network technology'),