forked from firebase/firebase-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: emulator auth_time (firebase#3608) (firebase#3611)
* fix: emulator auth_time (firebase#3608) Made emulator auth_time match how auth_time is populated in production. (auth_time should match user's lastLoginAt in seconds) * Check not null just in case lastLoginAt is 0 because of unit test clock mocking * Advance clock to verify auth_time is not refresh time * assert user.lastLoginAt is not undefined * Apply suggestions from code review * Format code. Co-authored-by: Yuchen Shi <yuchenshi@google.com>
- Loading branch information
1 parent
3efc523
commit 0b7f386
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
- Makes auth_time emulator behavior match production (auth_time is now set to user's last sign in time). (#3608) | ||
- Fixes Auth Emulator errors when importing many users. (#3577) | ||
- Fixes support for `--except` flag when used for deploying Hosting. (#3397) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters