|
|
|
@@ -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 |
|
|
|
|