blueprints: fix tag values not resolved correctly (#6653)

* blueprints: fix tag values not resolved correctly

this lead to `null` in an `!Env` tag being returned as `"null"`

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make blueprint user password optional

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* ensure user doesn't have a usable password set when its an empty string

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-08-28 18:27:44 +02:00
committed by GitHub
parent 799b9c09de
commit 30cb38ac6d
8 changed files with 42 additions and 17 deletions

View File

@ -8400,7 +8400,10 @@
"title": "Type"
},
"password": {
"type": "string",
"type": [
"string",
"null"
],
"minLength": 1,
"title": "Password"
}