Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: signup on auth #567

Merged
merged 1 commit into from
Aug 8, 2023
Merged

feat: signup on auth #567

merged 1 commit into from
Aug 8, 2023

Conversation

elrrrrrrr
Copy link
Member

Auto init the account when auth

  • 🧶 Added findOrCreateUser method. Initialize account on both login and authorization, as per the submitted GitHub."

授权时,默认进行账户初始化

  • 🧶 新增 findOrCreateUser 方法,登录和授权时均初始化账户

@elrrrrrrr elrrrrrrr added the enhancement New feature or request label Aug 8, 2023
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #567 (3f0e88b) into master (ab2fde7) will decrease coverage by 0.05%.
Report is 24 commits behind head on master.
The diff coverage is 99.01%.

@@            Coverage Diff             @@
##           master     #567      +/-   ##
==========================================
- Coverage   97.02%   96.98%   -0.05%     
==========================================
  Files         174      175       +1     
  Lines       16588    16716     +128     
  Branches     2177     2196      +19     
==========================================
+ Hits        16095    16212     +117     
- Misses        493      504      +11     
Files Changed Coverage Δ
app/common/PackageUtil.ts 97.61% <90.90%> (-1.42%) ⬇️
app/common/adapter/CacheAdapter.ts 100.00% <100.00%> (ø)
app/common/adapter/binary/NodePreGypBinary.ts 98.69% <100.00%> (+<0.01%) ⬆️
app/common/adapter/binary/PlaywrightBinary.ts 99.26% <100.00%> (+0.03%) ⬆️
app/common/constants.ts 100.00% <100.00%> (ø)
app/core/service/HomeService.ts 100.00% <100.00%> (ø)
app/core/service/PackageManagerService.ts 98.86% <100.00%> (ø)
app/core/service/PackageSyncerService.ts 98.21% <100.00%> (-0.01%) ⬇️
app/core/service/TokenService.ts 100.00% <100.00%> (ø)
app/core/service/UserService.ts 95.63% <100.00%> (+0.07%) ⬆️
... and 9 more

... and 2 files with indirect coverage changes

@fengmk2 fengmk2 merged commit c710600 into master Aug 8, 2023
11 of 12 checks passed
@fengmk2 fengmk2 deleted the signup-on-auth branch August 8, 2023 12:45
fengmk2 pushed a commit that referenced this pull request Aug 8, 2023
[skip ci]

## [3.40.0](v3.39.5...v3.40.0) (2023-08-08)

### Features

* signup on auth ([#567](#567)) ([c710600](c710600))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants