|
|
@ -3476,7 +3476,7 @@ end
|
|
|
|
type = params[:type]
|
|
|
|
type = params[:type]
|
|
|
|
search = params[:search]
|
|
|
|
search = params[:search]
|
|
|
|
if type == "0"
|
|
|
|
if type == "0"
|
|
|
|
authentication_user = AuthenticationsUsers.where(user_id => apply_action.user_id).first
|
|
|
|
authentication_user = AuthenticationsUsers.where(user_id: apply_action.user_id).first
|
|
|
|
if authentication_user.blank?
|
|
|
|
if authentication_user.blank?
|
|
|
|
AuthenticationsUsers.create(:user_id => apply_action.user_id, :authentication_id => 1)
|
|
|
|
AuthenticationsUsers.create(:user_id => apply_action.user_id, :authentication_id => 1)
|
|
|
|
end
|
|
|
|
end
|
|
|
|