更改: 删除组织密码加密处理

This commit is contained in:
yystopf 2024-11-20 13:56:42 +08:00
parent f49d5d5c3a
commit 58a02a0fda
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
class Organizations::OrganizationsController < Organizations::BaseController
include AesCryptHelper
before_action :require_login, except: [:index, :show, :recommend, :languages]
# before_action :require_profile_completed, only: [:create]
before_action :convert_image!, only: [:create, :update]
@ -139,7 +140,7 @@ class Organizations::OrganizationsController < Organizations::BaseController
end
def password
params.fetch(:password, "")
decrypt(params[:password]) rescue ""
end
def load_organization