From 1ceac968b0819641d51ba8c834acd79d1293d785 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 30 May 2024 22:18:32 +0300 Subject: [PATCH] fix move existing user --- app/controllers/users_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index d298012f..c9f67a12 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -27,6 +27,7 @@ class UsersController < ApplicationController if existing_user existing_user.archived_at = nil existing_user.assign_attributes(user_params) + existing_user.account = current_account @user = existing_user end