Enforce API token accessibility before usage

Created on 16 February 2024, 9 months ago
Updated 4 March 2024, 9 months ago

Problem/Motivation

As this module requires to have Packthub API token configured to make use of it, I think it will be great to ensure that token is available before anything that to say when admin tries to access /admin/config/packt/dashboard or /admin/config/packt/content-type-form these page should not be accessed if not token is set. as they both requires token to be available in system.

In that we will be solving
https://www.drupal.org/project/packthub_ebook_integration/issues/3421871 🐛 500 500 Service unavailable Needs review
https://www.drupal.org/project/packthub_ebook_integration/issues/3421896 🐛 Warning: Undefined array key Needs review

at same time

Thank you.

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

🇲🇼Malawi chancenyasulu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024