mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23: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 mapping registrationRequest parameters into session parameters
|
||||
|
||||
return HandleUserInteractiveFlow(req, r.userInteractiveFlowRequest, sessionID, cfg, accountDB, deviceDB,
|
||||
|
||||
return HandleUserInteractiveFlow(req, r.userInteractiveFlowRequest, sessionID, cfg,
|
||||
userInteractiveResponse{
|
||||
// passing the list of allowed Flows and Params
|
||||
cfg.Derived.Registration.Flows,
|
||||
|
|
|
|||
|
|
@ -247,9 +247,8 @@ func validateApplicationService(
|
|||
return matchedApplicationService.ID, nil
|
||||
}
|
||||
|
||||
// handleUIAAFlow will direct and complete UIAA flow stages
|
||||
// that the client has requested.
|
||||
func HandleUserInteractiveFlow (
|
||||
// HandleUserInteractiveFlow will direct and complete UIAA flow stages that the client has requested.
|
||||
func HandleUserInteractiveFlow(
|
||||
req *http.Request,
|
||||
|
||||
//the list of allowed flows and params
|
||||
|
|
@ -257,8 +256,6 @@ func HandleUserInteractiveFlow (
|
|||
|
||||
sessionID string,
|
||||
cfg *config.Dendrite,
|
||||
accountDB *accounts.Database,
|
||||
deviceDB *devices.Database,
|
||||
res userInteractiveResponse,
|
||||
responseHandler userInteractiveResponseHandler,
|
||||
) util.JSONResponse {
|
||||
|
|
|
|||
Loading…
Reference in a new issue