Skip to content

Commit

Permalink
Merge pull request #38 from matthewhartstonge/hotfix/#37-all-authoriz…
Browse files Browse the repository at this point in the history
…e-codes-by-default-are-inactive

v0.18.8
  • Loading branch information
matthewhartstonge authored Jun 11, 2020
2 parents 2190b23 + a7a82cf commit 34949dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [v0.18.8] - 2020-06-11
### Fixed
- mongo: auth codes should be set to active by default on creation.

## [v0.18.7] - 2020-05-24
### Changed
- travisci: updated to test against `go@{1.14, tip}`
Expand Down Expand Up @@ -447,6 +451,7 @@ clear out the password field before sending the response.
- General pre-release!

[Unreleased]: https://github.com/matthewhartstonge/storage/tree/master
[v0.18.8]: https://github.com/matthewhartstonge/storage/tree/v0.18.8
[v0.18.7]: https://github.com/matthewhartstonge/storage/tree/v0.18.7
[v0.18.6]: https://github.com/matthewhartstonge/storage/tree/v0.18.6
[v0.18.5]: https://github.com/matthewhartstonge/storage/tree/v0.18.5
Expand Down
2 changes: 1 addition & 1 deletion mongo/request_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ func toMongo(signature string, r fosite.Requester) storage.Request {
RequestedAudience: r.GetRequestedAudience(),
GrantedAudience: r.GetGrantedAudience(),
Form: r.GetRequestForm(),
Active: false,
Active: true,
Session: session,
}
}

0 comments on commit 34949dc

Please sign in to comment.