From 6654fd6130d31fe6887adbad86452e54d212db71 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Sun, 23 Oct 2022 08:12:16 +1100 Subject: [PATCH] refactor: update users_database examples (#4240) --- docs/content/en/reference/guides/passwords.md | 8 ++++---- examples/compose/lite/authelia/users_database.yml | 1 + examples/compose/local/authelia/users_database.yml | 1 + internal/authentication/users_database.template.yml | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/content/en/reference/guides/passwords.md b/docs/content/en/reference/guides/passwords.md index a9f8218eb..42c204f25 100644 --- a/docs/content/en/reference/guides/passwords.md +++ b/docs/content/en/reference/guides/passwords.md @@ -25,31 +25,31 @@ The format of the [YAML] file is as follows: ```yaml users: john: + disabled: false displayname: "John Doe" password: "$argon2id$v=19$m=65536,t=3,p=2$BpLnfgDsc2WD8F2q$o/vzA4myCqZZ36bUGsDY//8mKUYNZZaR0t4MFFSs+iM" email: john.doe@authelia.com groups: - admins - dev - disabled: false harry: + disabled: false displayname: "Harry Potter" password: "$argon2id$v=19$m=65536,t=3,p=2$BpLnfgDsc2WD8F2q$o/vzA4myCqZZ36bUGsDY//8mKUYNZZaR0t4MFFSs+iM" email: harry.potter@authelia.com groups: [] - disabled: false bob: + disabled: false displayname: "Bob Dylan" password: "$argon2id$v=19$m=65536,t=3,p=2$BpLnfgDsc2WD8F2q$o/vzA4myCqZZ36bUGsDY//8mKUYNZZaR0t4MFFSs+iM" email: bob.dylan@authelia.com groups: - dev - disabled: false james: + disabled: false displayname: "James Dean" password: "$argon2id$v=19$m=65536,t=3,p=2$BpLnfgDsc2WD8F2q$o/vzA4myCqZZ36bUGsDY//8mKUYNZZaR0t4MFFSs+iM" email: james.dean@authelia.com - disabled: false ``` ## Passwords diff --git a/examples/compose/lite/authelia/users_database.yml b/examples/compose/lite/authelia/users_database.yml index 8785bebe9..08944d06e 100644 --- a/examples/compose/lite/authelia/users_database.yml +++ b/examples/compose/lite/authelia/users_database.yml @@ -8,6 +8,7 @@ # List of users users: authelia: + disabled: false displayname: "Authelia User" # Password is authelia password: "$6$rounds=50000$BpLnfgDsc2WD8F2q$Zis.ixdg9s/UOJYrs56b5QEZFiZECu0qZVNsIYxBaNJ7ucIL.nlxVCT5tqh8KHG8X4tlwCFm5r6NTOZZ5qRFN/" # yamllint disable-line rule:line-length diff --git a/examples/compose/local/authelia/users_database.yml b/examples/compose/local/authelia/users_database.yml index f1811d933..1ca38bd6d 100644 --- a/examples/compose/local/authelia/users_database.yml +++ b/examples/compose/local/authelia/users_database.yml @@ -8,6 +8,7 @@ # List of users users: : + disabled: false displayname: "" password: "" email: @example.com diff --git a/internal/authentication/users_database.template.yml b/internal/authentication/users_database.template.yml index a6a691080..9e1b2043e 100644 --- a/internal/authentication/users_database.template.yml +++ b/internal/authentication/users_database.template.yml @@ -8,6 +8,7 @@ users: authelia: + disabled: false displayname: "Test User" password: "$argon2id$v=19$m=32768,t=1,p=8$eUhVT1dQa082YVk2VUhDMQ$E8QI4jHbUBt3EdsU1NFDu4Bq5jObKNx7nBKSn1EYQxk" # Password is 'authelia' email: authelia@authelia.com