Skip to content

Commit

Permalink
fix: remove redirector from code base
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 25, 2020
1 parent cab5280 commit 6689ecf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 146 deletions.
6 changes: 0 additions & 6 deletions driver/registry_default_hooks.go
@@ -1,8 +1,6 @@
package driver

import (
"encoding/json"

"github.com/ory/kratos/driver/configuration"
"github.com/ory/kratos/selfservice/hook"
)
Expand All @@ -28,10 +26,6 @@ func (m *RegistryDefault) HookSessionDestroyer() *hook.SessionDestroyer {
return m.hookSessionDestroyer
}

func (m *RegistryDefault) HookRedirector(config json.RawMessage) *hook.Redirector {
return hook.NewRedirector(config)
}

func (m *RegistryDefault) WithHooks(hooks map[string]func(configuration.SelfServiceHook) interface{}) {
m.injectedSelfserviceHooks = hooks
}
Expand Down
73 changes: 0 additions & 73 deletions selfservice/hook/redirector.go

This file was deleted.

67 changes: 0 additions & 67 deletions selfservice/hook/redirector_test.go

This file was deleted.

0 comments on commit 6689ecf

Please sign in to comment.