Compare commits
No commits in common. "master" and "e4fc2d9435dc7b12d5c36386843f92d401cd1ff9" have entirely different histories.
master
...
e4fc2d9435
4
app.go
4
app.go
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue