mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-05 02:41:41 +00:00
refactor: move session management to dedicated database module
This commit is contained in:
@@ -7,10 +7,12 @@ import (
|
||||
session "github.com/onsonr/sonr/internal/vault/session"
|
||||
)
|
||||
|
||||
func HandleIndex(c echo.Context) error {
|
||||
func Handler(c echo.Context) error {
|
||||
// TODO: Create views
|
||||
if isInitial(c) {
|
||||
// return response.TemplEcho(c, index.InitialView())
|
||||
}
|
||||
// TODO: Add authorization check
|
||||
if isExpired(c) {
|
||||
// return response.TemplEcho(c, index.ReturningView())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user