mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 09:13:49 +08:00
fix: try to fix tests
This commit is contained in:
@@ -19,7 +19,7 @@ func init() {
|
||||
// Here you may define all the cache "stores" for your application as
|
||||
// well as their drivers. You may even define multiple stores for the
|
||||
// same cache driver to group types of items stored in your caches.
|
||||
// Available Drivers: "memory", "redis", "custom"
|
||||
// Available Drivers: "memory", "custom"
|
||||
"stores": map[string]any{
|
||||
"memory": map[string]any{
|
||||
"driver": "memory",
|
||||
|
||||
@@ -2,6 +2,7 @@ package config
|
||||
|
||||
import (
|
||||
"github.com/goravel/framework/facades"
|
||||
"github.com/goravel/framework/support/path"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -27,6 +28,11 @@ func init() {
|
||||
"root": "/",
|
||||
"url": "http://localhost/",
|
||||
},
|
||||
"public": map[string]any{
|
||||
"driver": "local",
|
||||
"root": path.Storage("app/public"),
|
||||
"url": config.Env("APP_URL", "").(string) + "/storage",
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ func init() {
|
||||
// factor by 1 doubles the necessary time. After a certain point, the returns on
|
||||
// hashing time versus attacker time are diminishing, so choose your cost factor wisely.
|
||||
"bcrypt": map[string]any{
|
||||
"rounds": 10,
|
||||
"rounds": 12,
|
||||
},
|
||||
|
||||
// Argon2id Hashing Options
|
||||
|
||||
4
go.mod
4
go.mod
@@ -8,7 +8,7 @@ require (
|
||||
github.com/go-acme/lego/v4 v4.14.2
|
||||
github.com/gookit/color v1.5.4
|
||||
github.com/goravel/fiber v1.1.10
|
||||
github.com/goravel/framework v1.13.1-0.20231103030757-81cd82744019
|
||||
github.com/goravel/framework v1.13.3-0.20231105044008-e0020c289cb5
|
||||
github.com/iancoleman/strcase v0.3.0
|
||||
github.com/imroc/req/v3 v3.42.1
|
||||
github.com/mojocn/base64Captcha v1.3.5
|
||||
@@ -211,7 +211,7 @@ require (
|
||||
gorm.io/driver/mysql v1.5.2 // indirect
|
||||
gorm.io/driver/postgres v1.5.2 // indirect
|
||||
gorm.io/driver/sqlserver v1.5.2 // indirect
|
||||
gorm.io/gorm v1.25.5 // indirect
|
||||
gorm.io/gorm v1.25.4 // indirect
|
||||
gorm.io/plugin/dbresolver v1.4.7 // indirect
|
||||
modernc.org/libc v1.22.5 // indirect
|
||||
modernc.org/mathutil v1.5.0 // indirect
|
||||
|
||||
5
go.sum
5
go.sum
@@ -385,8 +385,11 @@ github.com/goravel/file-rotatelogs v0.0.0-20211215053220-2ab31dd9575c h1:obhFK91
|
||||
github.com/goravel/file-rotatelogs v0.0.0-20211215053220-2ab31dd9575c/go.mod h1:YSWsLXlG16u5CWFaXNZHhEQD10+NwF3xfgDV816OwLE=
|
||||
github.com/goravel/file-rotatelogs/v2 v2.4.1 h1:ogkeIFcTHSBRUBpZYiyJbpul8hkVXxHPuDbOaP78O1M=
|
||||
github.com/goravel/file-rotatelogs/v2 v2.4.1/go.mod h1:euk9qr52WrzM8ICs1hecFcR4CZ/ZZOPdacHfvHgbOf0=
|
||||
github.com/goravel/framework v1.13.1-0.20231006012150-4a6e705dbd56/go.mod h1:jUJTB38V9LEDneVTmNxPl8ALQXjvtirfjck4XQI12J8=
|
||||
github.com/goravel/framework v1.13.1-0.20231103030757-81cd82744019 h1:Jnpiv77rlwWd6R2GWniqXfh1853Lc769mc6qKSz+CUc=
|
||||
github.com/goravel/framework v1.13.1-0.20231103030757-81cd82744019/go.mod h1:5jKFbJzfqhaQTP3HCgbyrpnrCyoJjxN5JWSXO96H0iQ=
|
||||
github.com/goravel/framework v1.13.3-0.20231105044008-e0020c289cb5 h1:mnbl+AMWUSdPMuBqtVE9m1gvXWYtEwIXM6CP7SQMoYw=
|
||||
github.com/goravel/framework v1.13.3-0.20231105044008-e0020c289cb5/go.mod h1:BOUTIwzhOMyKNXaxSYbVB74NkmbS2xv1W1fPRv9eDws=
|
||||
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
|
||||
github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
|
||||
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI=
|
||||
@@ -1164,6 +1167,8 @@ gorm.io/gorm v1.23.8/go.mod h1:l2lP/RyAtc1ynaTjFksBde/O8v9oOGIApu2/xRitmZk=
|
||||
gorm.io/gorm v1.25.2-0.20230530020048-26663ab9bf55/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k=
|
||||
gorm.io/gorm v1.25.2-0.20230610234218-206613868439/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k=
|
||||
gorm.io/gorm v1.25.2/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k=
|
||||
gorm.io/gorm v1.25.4 h1:iyNd8fNAe8W9dvtlgeRI5zSVZPsq3OpcTu37cYcpCmw=
|
||||
gorm.io/gorm v1.25.4/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k=
|
||||
gorm.io/gorm v1.25.5 h1:zR9lOiiYf09VNh5Q1gphfyia1JpiClIWG9hQaxB/mls=
|
||||
gorm.io/gorm v1.25.5/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8=
|
||||
gorm.io/plugin/dbresolver v1.4.7 h1:ZwtwmJQxTx9us7o6zEHFvH1q4OeEo1pooU7efmnunJA=
|
||||
|
||||
Reference in New Issue
Block a user