From 89af14c42e5ee65458dbcd765527bc0fc537274e Mon Sep 17 00:00:00 2001 From: Wieland Lindenthal Date: Tue, 26 Jul 2022 17:49:18 +0200 Subject: [PATCH] Remove redundant error flash. I don't a reason, why it is needed. --- app/controllers/oauth/applications_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/oauth/applications_controller.rb b/app/controllers/oauth/applications_controller.rb index 04a94843e6..b36c69953c 100644 --- a/app/controllers/oauth/applications_controller.rb +++ b/app/controllers/oauth/applications_controller.rb @@ -58,7 +58,6 @@ module OAuth redirect_to action: :show, id: call.result.id else @errors = call.errors - flash[:error] = call.errors.full_messages.join('\n') render action: :new end end