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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

View File

@ -154,6 +154,7 @@ PasswordlessRegistrationDone:
Title: Passwortloser Login erstellt
Description: Token für passwortlosen Login erfolgreich hinzugefügt.
NextButtonText: weiter
CancelButtonText: abbrechen
PasswordChange:
Title: Passwort ändern

View File

@ -154,6 +154,7 @@ PasswordlessRegistrationDone:
Title: Passwordless set up
Description: Token for passwordless successfully added.
NextButtonText: next
CancelButtonText: cancel
PasswordChange:
Title: Change Password