Skip to content

Commit

Permalink
Add signInWithNewPassword GraphQL API
Browse files Browse the repository at this point in the history
Close #14

Changed `sign-in` GraphQL API logic.
- Returns `Err` if `last_signin_time` of `account` is `None`.
  • Loading branch information
henry0715-dev committed Sep 2, 2024
1 parent 4e9a69e commit fb6cc77
Show file tree
Hide file tree
Showing 2 changed files with 345 additions and 55 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
during sign-in.
- Added ip access control based on the `allow_access_from` field of `Account`
during sign-in.
- Added `signInWithNewPassword` GraphQL API for signing in with a new password.

### Changed

Expand Down Expand Up @@ -77,6 +78,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
`post_body`, `state`
- Added new fields to `BlockListConn` event.
- `orig_l2_bytes`, `resp_l2_bytes`
- Changed the `signIn` to reject the first sign-in attempt unless it is done
through the new `signInWithNewPassword` API.

### Fixed

Expand Down
Loading

0 comments on commit fb6cc77

Please sign in to comment.