Remove devise email validation regexp, it's not needed in this version

This commit is contained in:
luisramos0
2019-09-08 18:40:28 +01:00
committed by Luis Ramos
parent 2dc78d2f50
commit 2f69d2a7e7

View File

@@ -65,9 +65,6 @@ Devise.setup do |config|
# Range for password length
# config.password_length = 6..20
# Regex to use to validate the email address
config.email_regexp = /^([\w\.%\+\-]+)@([\w\-]+\.)+([\w]{2,})$/i
# ==> Configuration for :timeoutable
# The time you want to timeout the user session without activity. After this
# time the user will be asked for credentials again.