aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/user.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/user.go b/user/user.go
index b130ab9..dbcbad0 100644
--- a/user/user.go
+++ b/user/user.go
@@ -40,6 +40,7 @@ func init() {
type User struct {
gorm.Model
u.Address
+ TokenVersion uint // this can be incremented to disable existing refresh token(s)
FullName string
FirmName string
Gstin string
@@ -50,9 +51,9 @@ type User struct {
Password string
LogoFile string
SignatureFile string
+ IsVerified bool // this should be removed and tokens should be issued upon verification
// will be printed with address on the invoice
Details string
- IsVerified bool
// a note is printed on every invoice.
// This is the default that gets automatically set
DefaultInvoiceNote string