From 9c3fdd0c08aa11e80d32610e62634bbb21d96bda Mon Sep 17 00:00:00 2001 From: p31729568 Date: Wed, 8 May 2019 14:27:17 +0800 Subject: [PATCH] fix management agree or reject trial auth --- app/controllers/managements_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index 4a01fa3c..679f2e11 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -3476,7 +3476,7 @@ end type = params[:type] search = params[:search] 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? AuthenticationsUsers.create(:user_id => apply_action.user_id, :authentication_id => 1) end