fix email typos

This commit is contained in:
Alex Turchyn
2023-09-17 09:27:41 +03:00
parent a1a0205d33
commit 84e879bad0
6 changed files with 19 additions and 6 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class User < ApplicationRecord
ADMIN_ROLE = 'admin'
].freeze
EMAIL_REGEXP = /[^@,\s]+@[^@,\s]+/
EMAIL_REGEXP = /[^@;,<>\s]+@[^@;,<>\s]+/
belongs_to :account
has_one :access_token, dependent: :destroy