MSP-1070 remove secret key

This commit is contained in:
DeniskaRediska committed 2022-10-10 16:32:13 +03:00
1 parent 850abfd93c
commit b79ed21c10
5 files changed
-5

No files matched your search

-1
View File
@@ -8,6 +8,5 @@
"password": "{{ msp_pgsql_password }}"
},
"logLevel": "debug",
"secretKey": "secret",
"expireSec": 3600
}
-1
View File
@@ -18,7 +18,6 @@ func init() {
type Remote struct {
Database dbx.Config
SecretKey string `valid:"required~Required" schema:"JWT secret"`
ExpireSec int `valid:"required" schema:"Время жизни токена в секундах,in seconds"`
UiDesign UIDesign `schema:"Кастомизация интерфейса"`
SudirAuth *SudirAuth `schema:"СУДИР авторизация"`
-1
View File
@@ -49,7 +49,6 @@ func (s *AuthTestSuite) SetupTest() {
Host: host,
RedirectURI: "http://localhost",
},
SecretKey: "admin",
ExpireSec: 3600,
}
-1
View File
@@ -35,7 +35,6 @@ func (s *CustomizationTestSuite) SetupTest() {
Name: "test",
PrimaryColor: "#ff4d4f",
},
SecretKey: "admin",
ExpireSec: 0,
}
-1
View File
@@ -45,7 +45,6 @@ func (s *UserTestSuite) SetupTest() {
s.httpCli = httpcli.New()
cfg := conf.Remote{
SecretKey: "secret",
ExpireSec: 0,
}
locator := assembly.NewLocator(testInstance.Logger(), s.httpCli, s.db)