Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Factor out common login code #2307

Merged
merged 2 commits into from
Dec 5, 2018
Merged

Factor out common login code #2307

merged 2 commits into from
Dec 5, 2018

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Nov 28, 2018

Removes the duplication between the various points where we send off a login
request and parse the response.

Removes the duplication between the various points where we send off a login
request and parse the response.
@richvdh richvdh requested a review from a team November 28, 2018 00:34
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor thing about docs, otherwise lgtm

src/Login.js Outdated
* as a MatrixClientCreds
*
* @param {string} hs the base url of the Homeserver used to log in.
* @param {string} is the default identity server
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume URL?

It might also be good to have these be named hsUrl and isUrl for self-documentation reasons.

@richvdh richvdh merged commit c553323 into develop Dec 5, 2018
@richvdh richvdh deleted the rav/factor_out_login_code branch December 5, 2018 16:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants