Skip to content

Commit

Permalink
Merge pull request #1417 from GSA/feature/secure-cookie
Browse files Browse the repository at this point in the history
Update ckan.ini
  • Loading branch information
jbrown-xentity authored Jul 31, 2024
2 parents e0053a1 + ae9eb29 commit d536444
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ckan/setup/ckan.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ beaker.session.secret = TShFJxS41xNdVJAxQsoIEm5zu
beaker.session.type=ext:database
#beaker.session.url=postgresql://ckan:ckan@db/ckan
beaker.session.cookie_expires=true
beaker.session.secure = True
beaker.session.samesite = Strict
beaker.session.url = $CKAN___BEAKER__SESSION__URL
beaker.session.timeout=900

Expand Down
6 changes: 3 additions & 3 deletions e2e/cypress/integration/dataset.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ describe('Dataset', () => {
// the button is visible
cy.get('#contact-btn').should('be.visible').click();
// the modal is invisible
cy.get('#fba-modal-dialog').should('be.visible');
cy.get('.fba-modal-dialog').should('be.visible');
cy.get('#fba_location_code').should('have.value', 'ek500-water-column-sonar-data-collected-during-al0001');
// can hide the modal
cy.get('a[class="fba-modal-close"]').click();
cy.get('#fba-modal-dialog').should('not.be.visible');
cy.get('a.fba-modal-close').click();
cy.get('.fba-modal-dialog').should('not.be.visible');
});
});

0 comments on commit d536444

Please sign in to comment.