mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-20 03:48:47 +00:00
feat: choose preferred WebAuthN platform for passwordless registration (#2469)
* feat: request preferred platform type for passwordless registration when using link * add text in console
This commit is contained in:
@@ -153,6 +153,7 @@ PasswordlessRegistration:
|
||||
PasswordlessRegistrationDone:
|
||||
Title: Passwortloser Login erstellt
|
||||
Description: Token für passwortlosen Login erfolgreich hinzugefügt.
|
||||
DescriptionClose: Du kannst das Fenster nun schliessen.
|
||||
NextButtonText: weiter
|
||||
CancelButtonText: abbrechen
|
||||
|
||||
|
||||
@@ -153,6 +153,7 @@ PasswordlessRegistration:
|
||||
PasswordlessRegistrationDone:
|
||||
Title: Passwordless set up
|
||||
Description: Token for passwordless successfully added.
|
||||
DescriptionClose: You can now close this window.
|
||||
NextButtonText: next
|
||||
CancelButtonText: cancel
|
||||
|
||||
|
||||
@@ -6,4 +6,8 @@
|
||||
margin-right: .5rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#wa-error {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@@ -537,6 +537,10 @@ a.block {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
#wa-error {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.lgn-qrcode {
|
||||
display: block;
|
||||
margin: auto;
|
||||
@@ -1426,6 +1430,10 @@ a.block {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
#wa-error {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.lgn-qrcode {
|
||||
display: block;
|
||||
margin: auto;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -17,6 +17,7 @@
|
||||
<input type="hidden" name="orgID" value="{{ .OrgID }}" />
|
||||
<input type="hidden" name="codeID" value="{{ .CodeID }}" />
|
||||
<input type="hidden" name="code" value="{{ .Code }}" />
|
||||
<input type="hidden" name="requestPlatformType" value="{{ .RequestPlatformType }}" />
|
||||
<input type="hidden" name="credentialCreationData" value="{{ .CredentialCreationData }}" />
|
||||
<input type="hidden" name="credentialData" />
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
{{ template "user-profile" . }}
|
||||
|
||||
<p>{{t "PasswordlessRegistrationDone.Description"}}</p>
|
||||
{{if .HideNextButton }}
|
||||
<p>{{t "PasswordlessRegistrationDone.DescriptionClose"}}</p>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
<form action="{{ loginUrl }}" method="POST">
|
||||
@@ -15,13 +18,11 @@
|
||||
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
||||
|
||||
<div class="lgn-actions">
|
||||
<a class="lgn-stroked-button lgn-primary" href="{{ loginUrl }}">
|
||||
{{t "PasswordlessRegistrationDone.CancelButtonText"}}
|
||||
</a>
|
||||
<span class="fill-space"></span>
|
||||
{{if not .HideNextButton }}
|
||||
<button class="lgn-raised-button lgn-primary" type="submit">{{t "PasswordlessRegistrationDone.NextButtonText"}}</button>
|
||||
{{end}}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
{{template "main-bottom" .}}
|
||||
{{template "main-bottom" .}}
|
||||
|
||||
Reference in New Issue
Block a user