mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-18 01:10:12 +00:00
feat: add frontend
This commit is contained in:
@@ -135,8 +135,8 @@ func CreateTestConfigs(t *testing.T) (model.Config, model.RuntimeConfig) {
|
||||
return config, runtime
|
||||
}
|
||||
|
||||
func CreateTestHelpers() model.RuntimeHelpers {
|
||||
return model.RuntimeHelpers{
|
||||
func CreateTestHelpers() *model.RuntimeHelpers {
|
||||
return &model.RuntimeHelpers{
|
||||
GetCookieDomain: func(ctx context.Context, ip string) (string, error) {
|
||||
return "example.com", nil
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user