Store tokens in database instead of cookie
Showing
- README.md 1 addition, 2 deletionsREADME.md
- model/token.go 11 additions, 0 deletionsmodel/token.go
- server/core/context.go 1 addition, 1 deletionserver/core/context.go
- server/middleware/context_keys.go 2 additions, 2 deletionsserver/middleware/context_keys.go
- server/middleware/token.go 81 additions, 0 deletionsserver/middleware/token.go
- server/routes.go 1 addition, 1 deletionserver/routes.go
- sql/schema_version_3.sql 6 additions, 0 deletionssql/schema_version_3.sql
- sql/sql.go 8 additions, 1 deletionsql/sql.go
- storage/migration.go 1 addition, 1 deletionstorage/migration.go
- storage/token.go 48 additions, 0 deletionsstorage/token.go
Loading
Please register or sign in to comment