mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 17:33:09 -06:00
fix lint errors
This commit is contained in:
parent
26de6e25fc
commit
85527fbda0
|
|
@ -202,8 +202,8 @@ func Register(
|
||||||
|
|
||||||
// TODO: Handle loading of previous session parameters from database.
|
// TODO: Handle loading of previous session parameters from database.
|
||||||
// TODO: Handle mapping registrationRequest parameters into session parameters
|
// TODO: Handle mapping registrationRequest parameters into session parameters
|
||||||
|
|
||||||
return HandleUserInteractiveFlow(req, r.userInteractiveFlowRequest, sessionID, cfg, accountDB, deviceDB,
|
return HandleUserInteractiveFlow(req, r.userInteractiveFlowRequest, sessionID, cfg,
|
||||||
userInteractiveResponse{
|
userInteractiveResponse{
|
||||||
// passing the list of allowed Flows and Params
|
// passing the list of allowed Flows and Params
|
||||||
cfg.Derived.Registration.Flows,
|
cfg.Derived.Registration.Flows,
|
||||||
|
|
|
||||||
|
|
@ -247,9 +247,8 @@ func validateApplicationService(
|
||||||
return matchedApplicationService.ID, nil
|
return matchedApplicationService.ID, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleUIAAFlow will direct and complete UIAA flow stages
|
// HandleUserInteractiveFlow will direct and complete UIAA flow stages that the client has requested.
|
||||||
// that the client has requested.
|
func HandleUserInteractiveFlow(
|
||||||
func HandleUserInteractiveFlow (
|
|
||||||
req *http.Request,
|
req *http.Request,
|
||||||
|
|
||||||
//the list of allowed flows and params
|
//the list of allowed flows and params
|
||||||
|
|
@ -257,8 +256,6 @@ func HandleUserInteractiveFlow (
|
||||||
|
|
||||||
sessionID string,
|
sessionID string,
|
||||||
cfg *config.Dendrite,
|
cfg *config.Dendrite,
|
||||||
accountDB *accounts.Database,
|
|
||||||
deviceDB *devices.Database,
|
|
||||||
res userInteractiveResponse,
|
res userInteractiveResponse,
|
||||||
responseHandler userInteractiveResponseHandler,
|
responseHandler userInteractiveResponseHandler,
|
||||||
) util.JSONResponse {
|
) util.JSONResponse {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue