stages/identification: allow setting of a password stage to check password and identity in a single step
closes #970 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		@ -1,8 +1,8 @@
 | 
			
		||||
import { customElement, LitElement, CSSResult, property, css } from "lit-element";
 | 
			
		||||
import { TemplateResult, html } from "lit-html";
 | 
			
		||||
import { Error } from "../../api/Flows";
 | 
			
		||||
import PFForm from "@patternfly/patternfly/components/Form/form.css";
 | 
			
		||||
import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css";
 | 
			
		||||
import { ErrorDetail } from "authentik-api";
 | 
			
		||||
 | 
			
		||||
@customElement("ak-form-element")
 | 
			
		||||
export class FormElement extends LitElement {
 | 
			
		||||
@ -25,7 +25,7 @@ export class FormElement extends LitElement {
 | 
			
		||||
    required = false;
 | 
			
		||||
 | 
			
		||||
    @property({ attribute: false })
 | 
			
		||||
    errors?: Error[];
 | 
			
		||||
    errors?: ErrorDetail[];
 | 
			
		||||
 | 
			
		||||
    updated(): void {
 | 
			
		||||
        this.querySelectorAll<HTMLInputElement>("input[autofocus]").forEach(input => {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user