mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Fix user status
This commit is contained in:
parent
173af225d7
commit
85049b398b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue