This commit is contained in:
tsmethurst 2021-03-21 00:48:37 +01:00
parent 4dbc9077b3
commit 0af445cfed
1 changed files with 1 additions and 1 deletions

View File

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