mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
[security] keep test & unpublished versions under a password - fix test?
This commit is contained in:
parent
e25824cc6d
commit
2e12d46c57
@ -53,6 +53,7 @@
|
||||
!this.locales[this.config.locale]
|
||||
|| !this.locales[this.config.locale].published
|
||||
|| process.env.NODE_ENV === 'test'
|
||||
|| process.env.BASE_URL.includes('test.pronouns.page')
|
||||
),
|
||||
testerPassword: '',
|
||||
testerPasswordCookie: this.$cookies.get(TESTER_PASSWORD_COOKIE_KEY),
|
||||
|
Loading…
x
Reference in New Issue
Block a user