diff --git a/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module b/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module index c8fc80a9..08e72f2a 100644 --- a/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module +++ b/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module @@ -211,7 +211,7 @@ class InputfieldPassword extends InputfieldText { } $this->attr('data-banMode', $this->complexifyBanMode ? $this->complexifyBanMode : 'loose'); - $this->attr('data-factor', (float) $this->complexifyFactor >= 0 ? $this->complexifyFactor : 0); + $this->attr('data-factor', (float) $this->complexifyFactor >= 0 ? str_replace(',', '.', "$this->complexifyFactor") : 0); $inputClass = $this->wire('sanitizer')->entities($this->attr('class')); $this->addClass('InputfieldPasswordComplexify');