From bd59c3c456437be91aa7707bcc793d195d570aa5 Mon Sep 17 00:00:00 2001 From: "mikeh112@hotmail.com" Date: Tue, 29 Oct 2024 09:48:27 +0000 Subject: [PATCH] Edited the email regex in config/initializers to remove a multiline anchor error --- test/rails_app/config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rails_app/config/initializers/devise.rb b/test/rails_app/config/initializers/devise.rb index a3a339edc1..c2fde99146 100644 --- a/test/rails_app/config/initializers/devise.rb +++ b/test/rails_app/config/initializers/devise.rb @@ -99,7 +99,7 @@ # config.password_length = 8..72 # Regex to use to validate the email address - # config.email_regexp = /^([\w\.%\+\-]+)@([\w\-]+\.)+([\w]{2,})$/i + # config.email_regexp = /\A([\w.%+-]+)@([\w-]+.)+([\w]{2,})\z/i # ==> Configuration for :timeoutable # The time you want to timeout the user session without activity. After this