Skip to content

Commit

Permalink
cmd/server: SQLConnection should load SQLRequestManager
Browse files Browse the repository at this point in the history
Closes #613
  • Loading branch information
arekkas committed Oct 18, 2017
1 parent 36ae05f commit bb1bf68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/handler_consent_factory.go
Expand Up @@ -16,7 +16,7 @@ func injectConsentManager(c *config.Config) {
manager = oauth2.NewConsentRequestMemoryManager()
break
case *config.SQLConnection:
manager = oauth2.NewConsentRequestMemoryManager()
manager = oauth2.NewConsentRequestSQLManager(con.GetDatabase())
break
case *config.PluginConnection:
var err error
Expand Down

0 comments on commit bb1bf68

Please sign in to comment.