72 lines
2.2 KiB
Cheetah
72 lines
2.2 KiB
Cheetah
version: 1
|
|
metadata:
|
|
labels:
|
|
blueprints.goauthentik.io/instantiate: "true"
|
|
name: Flow Translations
|
|
context:
|
|
transl_recovery: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} "Passwort zurücksetzen" {{ else }} "Reset your password" {{ end }}
|
|
transl_password: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} "Passwort" {{ else }} "Password" {{ end }}
|
|
transl_password_repeat: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} "Passwort (wiederholen)" {{ else }} "Password (repeat)" {{ end }}
|
|
transl_username: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} "Benutzername" {{ else }} "Username" {{ end }}
|
|
transl_name: {{ if eq (env "DEFAULT_LANGUAGE") "de" }} "Vor- und Nachname" {{ else }} "Full name" {{ end }}
|
|
|
|
entries:
|
|
### DEPENDENCIES
|
|
- model: authentik_blueprints.metaapplyblueprint
|
|
attrs:
|
|
identifiers:
|
|
name: Recovery with email verification
|
|
required: true
|
|
- model: authentik_blueprints.metaapplyblueprint
|
|
attrs:
|
|
identifiers:
|
|
name: Default - User settings flow
|
|
required: true
|
|
- model: authentik_blueprints.metaapplyblueprint
|
|
attrs:
|
|
identifiers:
|
|
name: Default - Source enrollment flow
|
|
required: true
|
|
|
|
### FLOWS
|
|
- model: authentik_flows.flow
|
|
identifiers:
|
|
slug: default-recovery-flow
|
|
id: recovery_flow
|
|
model: authentik_flows.flow
|
|
attrs:
|
|
name: Default recovery flow
|
|
title: !Context transl_recovery
|
|
designation: recovery
|
|
|
|
|
|
### PROMPTS
|
|
- model: authentik_stages_prompt.prompt
|
|
identifiers:
|
|
name: default-password-change-field-password
|
|
attrs:
|
|
label: !Context transl_password
|
|
placeholder: !Context transl_password
|
|
- model: authentik_stages_prompt.prompt
|
|
identifiers:
|
|
name: default-password-change-field-password-repeat
|
|
attrs:
|
|
label: !Context transl_password_repeat
|
|
placeholder: !Context transl_password_repeat
|
|
- model: authentik_stages_prompt.prompt
|
|
identifiers:
|
|
name: default-user-settings-field-username
|
|
attrs:
|
|
label: !Context transl_username
|
|
- model: authentik_stages_prompt.prompt
|
|
identifiers:
|
|
name: default-user-settings-field-name
|
|
attrs:
|
|
label: !Context transl_name
|
|
- model: authentik_stages_prompt.prompt
|
|
identifiers:
|
|
name: default-source-enrollment-field-username
|
|
attrs:
|
|
label: !Context transl_username
|
|
placeholder: !Context transl_username
|