Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve [Storage] Info 2FA Manager (#93)
- [+] refactor(storage.go): make several Info struct fields optional in JSON serialization - [+] The `omitempty` JSON tag option is added to the `ContextKey`, `CookieValue`, `ExpirationTime`, `Identifier`, and `QRCodeData` fields of the `Info` struct. This allows omitting these fields from the JSON representation when their values are empty or zero.
- Loading branch information