@blackbaud/skyux-builder-plugin-auth-email-whitelist
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,3 +0,4 @@ | ||
const preload = (content, resourcePath) => { | ||
if (resourcePath.match(/app-extras\.module\.ts$/)) { | ||
const preload = (content, resourcePath, skyAppConfig) => { | ||
let authEnabled = (skyAppConfig.auth === 'true' || skyAppConfig.auth === true); | ||
if (resourcePath.match(/app-extras\.module\.ts$/) && authEnabled) { | ||
return `${content} | ||
@@ -4,0 +5,0 @@ /* tslint:disable:max-line-length */ |
@@ -0,1 +1,5 @@ | ||
# 1.0.2 (2017-06-08) | ||
- Require `"auth": true` to activate email whitelist behavior. | ||
# 1.0.1 (2017-06-02) | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "@blackbaud/skyux-builder-plugin-auth-email-whitelist", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A SKY UX Builder plugin that only allows users with Blackbaud email addresses to access the SPA.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3553
40