This reverts commit 7398451030.
Этот коммит содержится в:
@@ -131,7 +131,7 @@ func TestHandlerServeCSRFToken(t *testing.T) {
|
||||
IsOAuth: false,
|
||||
}
|
||||
session.GenerateCSRF()
|
||||
th.App.SetSessionExpireInHours(session, 24)
|
||||
th.App.SetSessionExpireInDays(session, 1)
|
||||
session, err := th.App.CreateSession(session)
|
||||
if err != nil {
|
||||
t.Errorf("Expected nil, got %s", err)
|
||||
|
||||
Ссылка в новой задаче
Block a user