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 3b4862c commit 6ebe11b
Show file tree
Hide file tree
Showing 2 changed files with 344 additions and 55 deletions.
2 changes: 2 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 @@ -68,6 +69,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
- Added a `language` field to the `Account`. Consequently, the `account` and
`accountList` API responses now include this field. The `insertAccount` and
`updateAccount` GraphQL API endpoints are also updated to support the field.
- Added logic to check the `lastSigninTime` value in the `signIn` GraphQL API.

### Fixed

Expand Down
Loading

0 comments on commit 6ebe11b

Please sign in to comment.