mirror of
https://github.com/processwire/processwire.git
synced 2025-08-20 21:42:23 +02:00
Fix issue processwire/processwire-issues#1557
This commit is contained in:
@@ -211,7 +211,7 @@ class InputfieldPassword extends InputfieldText {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->attr('data-banMode', $this->complexifyBanMode ? $this->complexifyBanMode : 'loose');
|
$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'));
|
$inputClass = $this->wire('sanitizer')->entities($this->attr('class'));
|
||||||
$this->addClass('InputfieldPasswordComplexify');
|
$this->addClass('InputfieldPasswordComplexify');
|
||||||
|
Reference in New Issue
Block a user