mirror of
https://github.com/openziti/zrok.git
synced 2024-11-21 23:53:19 +01:00
Merge branch 'main' into interstitial_chrome
This commit is contained in:
commit
b249707f77
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
FIX: Fix for setting the `zrok_interstitial` cookie on Chrome-based browsers.
|
FIX: Fix for setting the `zrok_interstitial` cookie on Chrome-based browsers.
|
||||||
|
|
||||||
|
FIX: Fix for `store.IsAccountGrantedSkipInterstitial` to respect the `deleted` flag.
|
||||||
|
|
||||||
FIX: When an error occurs connecting to the proxied endpoint, the `proxy` backend should return HTTP status `502` (https://github.com/openziti/zrok/issues/703)
|
FIX: When an error occurs connecting to the proxied endpoint, the `proxy` backend should return HTTP status `502` (https://github.com/openziti/zrok/issues/703)
|
||||||
|
|
||||||
## v0.4.36
|
## v0.4.36
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (str *Store) IsAccountGrantedSkipInterstitial(acctId int, trx *sqlx.Tx) (bool, error) {
|
func (str *Store) IsAccountGrantedSkipInterstitial(acctId int, trx *sqlx.Tx) (bool, error) {
|
||||||
stmt, err := trx.Prepare("select count(0) from skip_interstitial_grants where account_id = $1")
|
stmt, err := trx.Prepare("select count(0) from skip_interstitial_grants where account_id = $1 and not deleted")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, errors.Wrap(err, "error preparing skip_interstitial_grants select statement")
|
return false, errors.Wrap(err, "error preparing skip_interstitial_grants select statement")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user