From 06fd7bd37aced6d6b4f8ac638765982ec8335ab7 Mon Sep 17 00:00:00 2001 From: Torsten Date: Mon, 23 Oct 2023 11:32:42 +0300 Subject: [PATCH] fix devise --- app/models/member.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/member.rb b/app/models/member.rb index ce31665..ea658a0 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -15,7 +15,7 @@ class Member < ApplicationRecord :recoverable, :rememberable, :validatable, :async def skip_conf! - self.confirm! if Rails.env.development? + self.confirm if Rails.env.development? end mount_uploader :picture, PictureUploader