mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-15 15:52:48 +00:00
Fix typo in register.go
All in a hard day's work. Signed-off-by: Andrew Morgan <andrewm@matrix.org>
This commit is contained in:
parent
6fed3a1be2
commit
93a6178d45
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue