Skip to content

Commit

Permalink
🚢 v0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Sep 19, 2017
1 parent d00136d commit 49c234e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Storage Changelog
## v0.5.3
- Add omitempty for marshaling json tags

## v0.5.2
- Added returning `fosite.ErrNotFound` if unable to find a user record to delete

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

fosite-storage-mongo provides Mongo backed database storage that conforms to *all the interfaces!* required by fosite.

**Lastest Version:** v0.5.2
**Lastest Version:** v0.5.3

**Table of contents**
- [Documentation](#documentation)
Expand Down
2 changes: 1 addition & 1 deletion user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type User struct {

// Password of the user - will be a hash based on your fosite selected hasher
// If using this model directly in an API, be sure to clear the password out when marshaling to json/xml
Password string `bson:"password,omitempty" json:"password" xml:"password,omitempty"`
Password string `bson:"password,omitempty" json:"password,omitempty" xml:"password,omitempty"`

// Scopes contains the scopes that have been granted to
Scopes []string `bson:"scopes" json:"scopes" xml:"scopes"`
Expand Down

0 comments on commit 49c234e

Please sign in to comment.