Support from Acquia helps fund testing for Drupal Acquia logo

Comments

naveenvalecha created an issue. See original summary.

naveenvalecha’s picture

Manjit.Singh’s picture

Assigned: Unassigned » Manjit.Singh
Manjit.Singh’s picture

Assigned: Manjit.Singh » Unassigned
Status: Active » Needs review
FileSize
351 bytes

As this is my first routing file. Here we go :)
Let me know the changes that i have do more in this.

naveenvalecha’s picture

Status: Needs review » Needs work

great start!.Its only route defined. Also add the configuration form as well.

alan-ps’s picture

Assigned: Unassigned » alan-ps

I will look at this!

alan-ps’s picture

Assigned: alan-ps » Unassigned
Status: Needs work » Needs review
FileSize
7.58 KB

This is a patch!

naveenvalecha’s picture

Status: Needs review » Needs work
+++ b/config/install/shield_pages.settings.yml
@@ -0,0 +1,10 @@
+password_settings:
+  type: 'per_page_password'
+  global_password: 0
+  session_expire_time: 0
+other_settings:
+  title: 'Shield Page -- Enter password'
+  description: 'The page you are trying to view is password protected. Please enter the password below to proceed.'
+  field_label: 'Enter Password'
+  submit_text: 'Authenticate'
+  incorrect_password_msg: 'Incorrect password!'

Define the schema/metadata of the config.

alan-ps’s picture

Status: Needs work » Needs review
FileSize
1.17 KB
8.85 KB

Fixed. Thanks.

naveenvalecha’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
1.25 KB

Looks good. Committed the patch with these extra changes.

  • naveenvalecha committed 8e53286 on 8.x-1.x authored by alan-ps
    Issue #2780215 by alan-ps, Manjit.Singh, naveenvalecha: Add Shield Pages...
naveenvalecha’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.