v0.324.0: the database password comes back with the data (R-1106, R-127b, R-926); restic 0.19.1 (R-1107); R-1108, R-1065, R-1017; dashboard hardening (R-983, R-976)
gates / gates (push) Successful in 44s
gates / gates (push) Successful in 44s
This commit is contained in:
@@ -213,7 +213,9 @@ func TestFamilyGate_ResetRemoveLogoutEndAccessAtOnce(t *testing.T) {
|
||||
}
|
||||
sess = login()
|
||||
app = famPass(t, s, sess)
|
||||
r := httptest.NewRequest(http.MethodPost, "https://felhom.example.hu"+familyLogoutPath, nil)
|
||||
r := httptest.NewRequest(http.MethodPost, "https://felhom.example.hu"+familyLogoutPath,
|
||||
strings.NewReader(url.Values{"_ft": {s.familyLogoutToken(sess.Value)}}.Encode()))
|
||||
r.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
||||
r.AddCookie(sess)
|
||||
s.ServeFamilyLogout(httptest.NewRecorder(), r)
|
||||
if ok(app) {
|
||||
|
||||
Reference in New Issue
Block a user