mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-26 21:51:36 +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
@ -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
Block a user