|
c118a238de
|
Rework how AuthMiddleware works speeding it up using basic map runtime cache
|
2024-11-30 13:57:57 +02:00 |
|
|
8f592a0f2e
|
Change soft deletion of sessions to be hard delete
|
2024-11-30 12:36:28 +02:00 |
|
|
21dc84a29c
|
Move time.Hour as SESSION_DURATION constant
|
2024-11-30 12:36:11 +02:00 |
|
|
4e1faf26be
|
Remove Debug part of fetching data from database
|
2024-11-08 17:06:31 +02:00 |
|
|
f6c226e97a
|
Fix errors with trying to fetch sessions from database
|
2024-11-08 17:04:43 +02:00 |
|
|
06e0a2d7ec
|
Add sessions in tokens package
|
2024-11-06 19:47:22 +02:00 |
|
|
a45423b5e2
|
For now disabling only one token for user
|
2024-11-06 19:44:10 +02:00 |
|
|
db78c5c6c2
|
small
|
2024-08-14 15:05:42 +03:00 |
|
|
2d61d59179
|
Add Id to tokens.Token struct and func GetID to tokens package
|
2024-08-03 08:48:33 +03:00 |
|
|
bfa9af930e
|
Add AmIAllowed func to tokens package
|
2024-08-03 08:22:01 +03:00 |
|
|
5b7daead95
|
Changes in tokens
|
2024-08-02 23:36:31 +03:00 |
|
|
4c319e8ba0
|
Create tokens package
|
2024-08-02 00:03:01 +03:00 |
|