mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Store tokens in database instead of cookie
This commit is contained in:
parent
7cecdbb856
commit
1a90c059e7
11 changed files with 160 additions and 58 deletions
11
model/token.go
Normal file
11
model/token.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Copyright 2017 Frédéric Guillot. All rights reserved.
|
||||
// Use of this source code is governed by the Apache 2.0
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package model
|
||||
|
||||
// Token represents a CSRF token in the system.
|
||||
type Token struct {
|
||||
ID string
|
||||
Value string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue