Compare commits

..

No commits in common. "master" and "e4fc2d9435dc7b12d5c36386843f92d401cd1ff9" have entirely different histories.

2 changed files with 1 additions and 6 deletions

4
app.go
View file

@ -91,7 +91,3 @@ func (app *App) Run(addr string) error {
func (app *App) AuthSupported() bool {
return len(app.authHandlers) > 0
}
func (app *App) SetSessionConfig(config session.Config) {
app.sessions = session.New(config)
}

View file

@ -57,7 +57,6 @@ func (mm *ModuleManager) SetHomepage(template string, handlers ...func(map[strin
mm.app.homepageHandlers = handlers
}
// Deprecated: SetSessionConfig is deprecated, use app.SetSessionConfig
func (mm *ModuleManager) SetSessionConfig(config session.Config) {
mm.app.SetSessionConfig(config)
mm.app.sessions = session.New(config)
}