Commit b5ec95f

mo <mo.khan@gmail.com>
2018-12-18 02:42:00
fix broken tests
1 parent bc90029
Changed files (2)
app
controllers
config
locales
app/controllers/scim/controller.rb
@@ -45,7 +45,7 @@ module Scim
       Current.token = authenticate_with_http_token do |token|
         Token.authenticate(token)
       end
-      render "unauthorized", status: :unauthorized unless Current.user?
+      render "unauthorized", status: :unauthorized, formats: :scim unless Current.user?
     end
 
     def apply_scim_content_type
config/locales/en.yml
@@ -12,6 +12,7 @@ en:
       user:
         mfa_secret: MFA Secret
         password_digest: Password
+        provisioning_uri: Provisioning URI
       user_session:
         ip: IP Address
         sudo_enabled_at: Sudo Enabled At