From 85049b398b16ecd79d973867eaaa8b63ab13ffa8 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Tue, 25 Feb 2025 00:04:05 +0100 Subject: [PATCH] Fix user status --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index e1a4b5cd..14de61fa 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -107,7 +107,7 @@ class User < ApplicationRecord end def activate - update(state: :active) if DawarichSettings.self_hosted? + update(status: :active) if DawarichSettings.self_hosted? end def sanitize_input