Merge pull request #5514 from itay-grudev/master

Bug Fix: Devise Checkbox TRUE VALUES not compatible with HTML specs (missing "on" value)
This commit is contained in:
Vasiliy Ermolovich
2024-11-08 16:40:12 +00:00
committed by GitHub

View File

@@ -60,7 +60,7 @@ module Devise
NO_INPUT = []
# True values used to check params
TRUE_VALUES = [true, 1, '1', 't', 'T', 'true', 'TRUE']
TRUE_VALUES = [true, 1, '1', 'on', 'ON', 't', 'T', 'true', 'TRUE']
# Secret key used by the key generator
mattr_accessor :secret_key