From de0877b2d7dbda0d4ef237c307d29e17015661c4 Mon Sep 17 00:00:00 2001 From: axolotle Date: Mon, 10 Oct 2022 21:16:10 +0200 Subject: [PATCH 1/2] postinstall: add first admin user form --- app/src/i18n/locales/en.json | 8 +-- app/src/views/PostInstall.vue | 99 +++++++++++++++++++++++++++-------- 2 files changed, 83 insertions(+), 24 deletions(-) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index 1fcf1749..79efb90b 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -389,15 +389,17 @@ "ports": "Ports", "postinstall": { "force": "Force the post-install", - "title": "Postinstall" + "title": "Postinstall", + "user": { + "title": "Create first admin user", + "first_user_help": "This user will be granted admin privileges and will be allowed to connect to this administration interface as well as directly to the server via SSH.\nAs it is a regular user, you will also be able to connect to the user portal (SSO) with its credentials.\nOnce the post-installation is complete, you will be able to create other admin users by adding them into the 'admins' group." + } }, "postinstall_domain": "This is the first domain name linked to your YunoHost server, but also the one which will be used by your server's users to access the authentication portal. Accordingly, it will be visible by everyone, so choose it carefully.", "postinstall_intro_1": "Congratulations! YunoHost has been successfully installed.", "postinstall_intro_2": "Two more configuration steps are required to activate you server's services.", "postinstall_intro_3": "You can obtain more information by visiting the appropriate documentation page", - "postinstall_password": "This password will be used to manage everything on your server. Take the time to choose it wisely.", "postinstall_set_domain": "Set main domain", - "postinstall_set_password": "Set administration password", "previous": "Previous", "protocol": "Protocol", "readme": "Readme", diff --git a/app/src/views/PostInstall.vue b/app/src/views/PostInstall.vue index 17bfa878..7edc353f 100644 --- a/app/src/views/PostInstall.vue +++ b/app/src/views/PostInstall.vue @@ -12,7 +12,7 @@

- + {{ $t('begin') }} @@ -33,16 +33,23 @@ - -