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

fix(auth): fix argument type for login with credentials #1045

Merged
merged 1 commit into from
Jan 4, 2021

Conversation

AlexanderArvidsson
Copy link
Contributor

@AlexanderArvidsson AlexanderArvidsson commented Dec 28, 2020

Description

The current typings does not allow you to specify the credential parameter of the credentials in login. This PR changes it to match the implementation.

Check List

If not relevant to pull request, check off as complete

  • All tests passing
  • Docs updated with any changes or examples if applicable
  • Added tests to ensure new feature(s) work properly

@AlexanderArvidsson AlexanderArvidsson changed the title Fix typings for login with credentials fix(auth): Fix typings for login with credentials Dec 28, 2020
@codecov
Copy link

codecov bot commented Dec 28, 2020

Codecov Report

Merging #1045 (597f857) into master (c72de9d) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1045      +/-   ##
==========================================
+ Coverage   88.33%   88.44%   +0.11%     
==========================================
  Files          29       29              
  Lines         797      805       +8     
==========================================
+ Hits          704      712       +8     
  Misses         93       93              

@prescottprue prescottprue changed the title fix(auth): Fix typings for login with credentials fix(auth): fix argument type for login with credentials Jan 4, 2021
@prescottprue prescottprue changed the base branch from master to v3.9.0 January 4, 2021 22:29
@prescottprue prescottprue merged commit 260bf21 into prescottprue:v3.9.0 Jan 4, 2021
@prescottprue prescottprue mentioned this pull request Jan 4, 2021
3 tasks
@AlexanderArvidsson AlexanderArvidsson deleted the patch-1 branch January 4, 2021 23:13
prescottprue added a commit that referenced this pull request Jan 5, 2021
* fix(auth): prevent throw in `logout` when database is not setup (#1042) - @ssdns
* fix(types): fix `reloadAuth` argument type and duplicate of `endBefore` (#1031) - @ MatthewDailey
* fix(types): fix argument type for `login` with credentials (#1045) - @AlexanderArvidsson
* fix(types): add back `FirestoreStatics` to `ExtendedFirestoreInstance` (#1030)
* fix(core): add deprecation message `enableLogging` config option
* chore(docs): add note about required rules for profile settings (#1049)

Co-authored-by: Matthew Dailey <[email protected]>
Co-authored-by: Alexander Arvidsson <[email protected]>
Co-authored-by: shishido <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants