This commit is contained in:
tsmethurst 2021-03-21 00:48:37 +01:00
commit 0af445cfed

View file

@ -40,7 +40,7 @@ func (suite *OauthTestSuite) SetupSuite() {
// the templates actually load // the templates actually load
c.TemplateConfig.BaseDir = "../../web/template/" c.TemplateConfig.BaseDir = "../../web/template/"
suite.config = c suite.config = c
encryptedPassword, err := bcrypt.GenerateFromPassword([]byte("password"), bcrypt.DefaultCost) encryptedPassword, err := bcrypt.GenerateFromPassword([]byte("password"), bcrypt.DefaultCost)
if err != nil { if err != nil {
logrus.Panicf("error encrypting user pass: %s", err) logrus.Panicf("error encrypting user pass: %s", err)