sql_app: init_secrets: add new variable for first user password
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
01e6c990f7
commit
311058f09b
@ -4,3 +4,15 @@ echo "API_KEY=$(./gen_secret.sh)" >> .env
|
|||||||
echo "API_KEY_NAME=big_boy" >> .env
|
echo "API_KEY_NAME=big_boy" >> .env
|
||||||
echo "jwt_secret=$(./gen_secret.sh)" >> .env
|
echo "jwt_secret=$(./gen_secret.sh)" >> .env
|
||||||
echo "jwt_algorithm=HS256" >> .env
|
echo "jwt_algorithm=HS256" >> .env
|
||||||
|
|
||||||
|
read -s -p "First User password: " firstpass
|
||||||
|
echo
|
||||||
|
read -s -p "Retype First User password: " secondpass
|
||||||
|
echo
|
||||||
|
|
||||||
|
if [ $firstpass != $secondpass ];
|
||||||
|
then
|
||||||
|
echo "Passwords dont match!"
|
||||||
|
exit 255
|
||||||
|
fi
|
||||||
|
echo "first_user_pass=$firstpass" >> .env
|
||||||
|
Loading…
Reference in New Issue
Block a user