developer console fixes

This commit is contained in:
Alex Turchyn committed 2023-08-08 23:28:26 +03:00
1 parent 644b142798
commit e75e7b18b4
8 files changed
+19 -12

No files matched your search

+1 -2
View File
@@ -42,8 +42,7 @@
class User < ApplicationRecord
ROLES = %w[admin].freeze
EMAIL_REGEXP =
/[a-z0-9][.']?(?:(?:[a-z0-9_-]++[.'])*[a-z0-9_-]++)*@(?:[a-z0-9]++[.-])*[a-z0-9]++\.[a-z]{2,}/i
EMAIL_REGEXP = /[^@,\s]+@[^@,\s]+/
belongs_to :account