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 3f523a9 commit e4320fd
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 @@ -71,6 +72,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
`accountList` API responses now include this field. The `insertAccount` and
`updateAccount` GraphQL API endpoints are also updated to support the field.
- Added `category` field to TI db and rules.
- Added logic to check the `lastSigninTime` value in the `signIn` GraphQL API.
- Apply a requirement for a password change upon the initial `signIn`.

### Fixed

Expand Down
Loading

0 comments on commit e4320fd

Please sign in to comment.