add fast-jwt ( not tested ) and make the user actual register
All checks were successful
Code quality checks / biome (push) Successful in 8s
All checks were successful
Code quality checks / biome (push) Successful in 8s
This commit is contained in:
parent
f93cef442a
commit
57fb8d8bb1
10 changed files with 227 additions and 27 deletions
9
types/http.d.ts
vendored
9
types/http.d.ts
vendored
|
@ -4,3 +4,12 @@ interface GenericJsonResponseOptions {
|
|||
error?: string;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
interface UserSession {
|
||||
id: string;
|
||||
username: string;
|
||||
email: string;
|
||||
is_verified: boolean;
|
||||
iat?: number; // issued at (added by JWT libs)
|
||||
exp?: number; // expiration (added by JWT libs)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue