Browse Source

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

pull/347/head
yystopf 1 year ago
parent
commit
58a02a0fda
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/controllers/organizations/organizations_controller.rb

+ 2
- 1
app/controllers/organizations/organizations_controller.rb 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


Loading…
Cancel
Save