diff --git a/app/javascript/src/controllers/auth_restriction_controller.js b/app/javascript/src/controllers/auth_restriction_controller.js index 0ef56a505..3b18b5255 100644 --- a/app/javascript/src/controllers/auth_restriction_controller.js +++ b/app/javascript/src/controllers/auth_restriction_controller.js @@ -8,6 +8,7 @@ export default class extends Controller { displayMessage(event) { const authResponse = event.detail const status = authResponse.status + console.log(`auth_restriction_controller.displayMessage: staus=${status}`) if (status.includes('embargoed')) { // Embargo check must come before stanford_restricted, because both can occur together if (status.includes('stanford_restricted')) this.displayEmbargoAndStanfordRestriction(authResponse.embargo, authResponse.service)