zuora_connect 3.2.7 → 3.2.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df41d948a604580eff9e8797e3b1b9dfd180622bca5659dfb4bc6ac7cfca6ec7
|
4
|
+
data.tar.gz: f4c7d955bcb94d8724bd7f8bf7dbabe0b66c7b0f6e540ca55e93be616177b7e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e118433fe201632c215dc15cbbc47d8e49aefc353b54e92e428816c6ec582f3b245c0806a0bc6e4fea8c070c3d12269fac6a940a0daaab332795f73c15470e33
|
7
|
+
data.tar.gz: 2592ebfe6873d9f83ac26504b2adb7ce3422ece467e4d07fb4ed9ddcfad28b606c72744042f22e2dd01069f9e5008a19074bf9c63ee16452b14cad39a05980ab
|
@@ -3,8 +3,16 @@ module ZuoraConnect
|
|
3
3
|
protect_from_forgery with: :exception
|
4
4
|
before_action :authenticate_connect_app_request, except: [:ldap_login]
|
5
5
|
after_action :persist_connect_app_session, except: [:ldap_login]
|
6
|
-
|
6
|
+
skip_before_action :verify_authenticity_token, :only => [:ldap_login]
|
7
|
+
|
7
8
|
def ldap_login
|
9
|
+
if !ZuoraConnect::AppInstance::INTERNAL_HOSTS.include?(request.headers.fetch("HOST", nil))
|
10
|
+
render 'zuora_connect/application/ldap_login', locals: {
|
11
|
+
title: 'Internal Auth Failure',
|
12
|
+
message: 'Internal Auth Failure'
|
13
|
+
}, :layout => false
|
14
|
+
end
|
15
|
+
|
8
16
|
require 'net-ldap'
|
9
17
|
|
10
18
|
username = request.parameters['ldap_username']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|