fix: passwordless send link direct false (#2122)

* fix: passwordless send link direct false

* fix: cancel button text
This commit is contained in:
Fabi
2021-08-04 17:28:29 +02:00
committed by GitHub
parent 00220e9532
commit c9290dc1a5
3 changed files with 3 additions and 1 deletions

View File

@@ -497,7 +497,7 @@ func (c *Commands) HumanAddPasswordlessInitCode(ctx context.Context, userID, res
}
func (c *Commands) HumanSendPasswordlessInitCode(ctx context.Context, userID, resourceOwner string) (*domain.PasswordlessInitCode, error) {
codeEvent, initCode, code, err := c.humanAddPasswordlessInitCode(ctx, userID, resourceOwner, true)
codeEvent, initCode, code, err := c.humanAddPasswordlessInitCode(ctx, userID, resourceOwner, false)
pushedEvents, err := c.eventstore.PushEvents(ctx, codeEvent)
if err != nil {
return nil, err