fix: check domain of username not claimed by other organisation and cleanup (#2265)

* fix: register human

* fix: check domain of username not claimed by other organisation

* fix: create setup step to create domain claimed events for invalid users

* Update setup_step19.go
This commit is contained in:
Livio Amstutz
2021-08-25 11:12:24 +02:00
committed by GitHub
parent d414404885
commit 34002ec834
6 changed files with 515 additions and 32 deletions

View File

@@ -24,6 +24,7 @@ type IAMSetUp struct {
Step16 *command.Step16
Step17 *command.Step17
Step18 *command.Step18
Step19 *command.Step19
}
func (setup *IAMSetUp) Steps(currentDone domain.Step) ([]command.Step, error) {
@@ -48,6 +49,7 @@ func (setup *IAMSetUp) Steps(currentDone domain.Step) ([]command.Step, error) {
setup.Step16,
setup.Step17,
setup.Step18,
setup.Step19,
} {
if step.Step() <= currentDone {
continue