Remove redundant error flash. I don't a reason, why it is needed.

bug/43323-nextcloud-validation-error-in-new-storage-host-field
Wieland Lindenthal 2 years ago
parent 9f2aa37318
commit 89af14c42e
No known key found for this signature in database
GPG Key ID: 7ACCABE64832A0C6
  1. 1
      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

Loading…
Cancel
Save