Skip to content

Commit

Permalink
Merge pull request #110 from Stremio/feat/facebook-auth
Browse files Browse the repository at this point in the history
feat(env): impl Facebook AuthRequest
  • Loading branch information
tymmesyde committed Jun 13, 2024
2 parents 1de151a + 64dd6a0 commit 1c3705b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ impl WebEnv {
"type": match auth_request {
AuthRequest::Login { facebook, .. } if *facebook => "facebook",
AuthRequest::Login { .. } => "login",
AuthRequest::Facebook { .. } => "authWithFacebook",
AuthRequest::LoginWithToken { .. } => "loginWithToken",
AuthRequest::Register { .. } => "register",
},
Expand Down

0 comments on commit 1c3705b

Please sign in to comment.