mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-06 23:29:31 -06:00
tidying
This commit is contained in:
parent
4dbc9077b3
commit
0af445cfed
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue