MSP-1070 remove secret key
This commit is contained in:
1 parent
850abfd93c
commit
b79ed21c10
5 files changed
-5
No files matched your search
@@ -8,6 +8,5 @@
|
||||
"password": "{{ msp_pgsql_password }}"
|
||||
},
|
||||
"logLevel": "debug",
|
||||
"secretKey": "secret",
|
||||
"expireSec": 3600
|
||||
}
|
||||
@@ -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:"СУДИР авторизация"`
|
||||
|
||||
@@ -49,7 +49,6 @@ func (s *AuthTestSuite) SetupTest() {
|
||||
Host: host,
|
||||
RedirectURI: "http://localhost",
|
||||
},
|
||||
SecretKey: "admin",
|
||||
ExpireSec: 3600,
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ func (s *CustomizationTestSuite) SetupTest() {
|
||||
Name: "test",
|
||||
PrimaryColor: "#ff4d4f",
|
||||
},
|
||||
SecretKey: "admin",
|
||||
ExpireSec: 0,
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user