Skip to content

Commit

Permalink
feat: updated password handling logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Aug 7, 2024
1 parent 1197c05 commit 6986a10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/models/models/v2/database_v2.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package models

import "time"
import (
"time"
)

type DatabaseV2 struct {
any `collection:"databases"`
Expand All @@ -13,7 +15,8 @@ type DatabaseV2 struct {
URI string `json:"uri,omitempty" bson:"uri,omitempty"`
Database string `json:"database,omitempty" bson:"database,omitempty"`
Username string `json:"username,omitempty" bson:"username,omitempty"`
Password string `json:"-,omitempty" bson:"password,omitempty"`
Password string `json:"password,omitempty" bson:"-"`
EncryptedPassword string `json:"-,omitempty" bson:"encrypted_password,omitempty"`
Status string `json:"status" bson:"status"`
Error string `json:"error" bson:"error"`
Active bool `json:"active" bson:"active"`
Expand Down

0 comments on commit 6986a10

Please sign in to comment.