Fix typo in register.go
All in a hard day's work. Signed-off-by: Andrew Morgan <andrewm@matrix.org>main
parent
6fed3a1be2
commit
93a6178d45
|
@ -64,7 +64,7 @@ func (d sessionsDict) GetCompletedStages(sessionID string) []authtypes.LoginType
|
||||||
return make([]authtypes.LoginType, 0)
|
return make([]authtypes.LoginType, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// AAddCompletedStage records that a session has completed an auth stage.
|
// AddCompletedStage records that a session has completed an auth stage.
|
||||||
func (d *sessionsDict) AddCompletedStage(sessionID string, stage authtypes.LoginType) {
|
func (d *sessionsDict) AddCompletedStage(sessionID string, stage authtypes.LoginType) {
|
||||||
d.sessions[sessionID] = append(d.GetCompletedStages(sessionID), stage)
|
d.sessions[sessionID] = append(d.GetCompletedStages(sessionID), stage)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue