mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 22:39:50 +08:00
更改: 删除组织密码加密处理
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user