Fix typo in register.go

All in a hard day's work.

Signed-off-by: Andrew Morgan <andrewm@matrix.org>
main
Andrew Morgan 2018-05-22 18:44:07 +01:00
parent 6fed3a1be2
commit 93a6178d45
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func (d sessionsDict) GetCompletedStages(sessionID string) []authtypes.LoginType
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) {
d.sessions[sessionID] = append(d.GetCompletedStages(sessionID), stage)
}