This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Move and refactor LoginRestServlet helper methods #8182
Merged
Merged
Commits on Aug 26, 2020
-
Move login_submission_legacy_convert, login_id_thirdparty_from_phone …
…methods We'll be using them in AuthHandler in the separate PR, so move them to AuthHandler instead of importing them from LoginRestServlet
Configuration menu - View commit details
-
Copy full SHA for bb9f3a1 - Browse repository at this point
Copy the full SHA bb9f3a1View commit details -
Refactor and rename login_submission_legacy_convert
Additionally moves some checks that were in `LoginRestServlet._do_other_login` to `convert_client_dict_legacy_fields_to_identifier` as they would be applicable to any other callers of this function. Additionally, there is a functional change here, in that we now return M_MISSING_PARAM's instead of M_UNKNOWN errcodes for when `identifier` or `type` parameters are missing.
Configuration menu - View commit details
-
Copy full SHA for 6cd0a44 - Browse repository at this point
Copy the full SHA 6cd0a44View commit details -
Refactor and rename login_id_thirdparty_from_phone
This function changes the errcode of a SynapseError from M_UNKNOWN to M_INVALID_PARAM. I think it fits better, but this is changing behaviour... Also corrected docstring. There is no 'm.id.threepid' identifier type.
Configuration menu - View commit details
-
Copy full SHA for ed30684 - Browse repository at this point
Copy the full SHA ed30684View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69f2b30 - Browse repository at this point
Copy the full SHA 69f2b30View commit details
Commits on Aug 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b768dd0 - Browse repository at this point
Copy the full SHA b768dd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a98400 - Browse repository at this point
Copy the full SHA 3a98400View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11329e8 - Browse repository at this point
Copy the full SHA 11329e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3e48f0 - Browse repository at this point
Copy the full SHA e3e48f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47e8d84 - Browse repository at this point
Copy the full SHA 47e8d84View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.