Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Misleading configuration option in config/initializers/devise.rb for config.confirm_within #646

Closed
darpified opened this Issue · 1 comment

2 participants

@darpified

Sample config text states that the default for confirm_within is nil, when it actually is 0.days. I set it to nil, and it crashes trying use ago on it.

It probably should go ahead and say that the default is 0.days instead of nil.

@carlosantoniodasilva
Collaborator

Please feel free to update it as you think it's needed, and send us a pull request, thanks.

@janx janx referenced this issue from a commit
@darpified darpified For #646 - modify the configuration text that is output for confirm_w…
…ithin so that it matches the actual default value. If you use nil as a value, it crashes trying to call nil.ago
32c6f7b
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.