mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Don't log validation errors for sso
This commit is contained in:
@@ -112,6 +112,8 @@ class SessionController < ApplicationController
|
||||
else
|
||||
render text: I18n.t("sso.not_found"), status: 500
|
||||
end
|
||||
rescue ActiveRecord::RecordInvalid => e
|
||||
render text: I18n.t("sso.unknown_error"), status: 500
|
||||
rescue => e
|
||||
details = {}
|
||||
SingleSignOn::ACCESSORS.each do |a|
|
||||
|
||||
Reference in New Issue
Block a user