Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed devise deprecation warning for config.email_regexp #618

Merged
merged 1 commit into from
Apr 23, 2016
Merged

fixed devise deprecation warning for config.email_regexp #618

merged 1 commit into from
Apr 23, 2016

Conversation

lemuelbarango
Copy link

Fixed deprecation warning:

DEPRECATION WARNING: [Devise] config.email_regexp will have a new default on Devise 4.1

Issue occurs when using devise_token_auth with devise 4.0.0
Fix: Kept the current behavior for devise 4.0.0

Devise.setup do |config|
 config.email_regexp = /\A[^@\s]+@([^@\s]+\.)+[^@\W]+\z/
end

@booleanbetrayal booleanbetrayal merged commit 10863b3 into lynndylanhurley:master Apr 23, 2016
@booleanbetrayal
Copy link
Collaborator

just had a chance to take 4.0.0 the other day. what an annoying little warning. =]

Thanks @lemuelbarango !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants