From dec5cf2021ede26b77b8b40536beef8cb457a83d Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Sat, 19 Nov 2016 21:23:21 +0000
Subject: [PATCH] Change message after adding user

---
 src/freedombone-adduser | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/freedombone-adduser b/src/freedombone-adduser
index 391fbf9ec..6fcb892a7 100755
--- a/src/freedombone-adduser
+++ b/src/freedombone-adduser
@@ -228,14 +228,11 @@ if ! grep -q 'control' /home/$MY_USERNAME/.bashrc; then
     echo 'control' >> /home/$MY_USERNAME/.bashrc
 fi
 
+${PROJECT_NAME}-pass -u $MY_USERNAME -a login -p "$NEW_USER_PASSWORD"
 clear
 echo $"New user $MY_USERNAME was created"
 echo $"Their login password is $NEW_USER_PASSWORD"
 echo ''
-echo $'IMPORTANT: Make a note of the password, because it will not be saved'
-echo $'anywhere else. Preferably give it to them in person on paper or via'
-echo $'a secure channel, not in an unencrypted email.'
-echo ''
 echo $"They can download their GPG keys with:"
 echo ''
 echo "    scp -P $SSH_PORT -r $MY_USERNAME@$HOSTNAME:/home/$MY_USERNAME/.gnupg ~/"
-- 
GitLab