Skip to content

Commit 196c74e

Browse files
committed
chore(create): always generate random password
1 parent ff52119 commit 196c74e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/create.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Arguments:
1313
OPTIONS A list of options for GAM user create, e.g.
1414
firstname User
1515
lastname Name
16-
password random
17-
changepassword
1816
recoveryemail something@something.com
1917
recoveryphone \"+1 (310) 555-5555\"
2018
2119
See https://github.com/taers232c/GAMADV-XTD3/wiki/Users#create-a-user
2220
for the complete list of OPTIONS
21+
22+
The user's password is randomly generated and requires reset on first login.
2323
"
2424

2525
# print usage for -? or -h or --help
@@ -44,7 +44,7 @@ fi
4444

4545
echo_ts "Creating account..."
4646

47-
gam create user $ACCOUNT "$@"
47+
gam create user $ACCOUNT password random changepassword "$@"
4848

4949
echo_ts "Adding to $TEAM group..."
5050

0 commit comments

Comments
 (0)