summaryrefslogtreecommitdiff
path: root/bin/create_account.sh
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-11-17 00:35:42 -0600
committerwushin <pasekei@gmail.com>2014-11-17 00:35:42 -0600
commitbf0e20c737bc3b6e2f92a90b094fb5a646a0c7a3 (patch)
tree7cb0559afe586ddda23eda6d2759b31e4a992822 /bin/create_account.sh
parent773a8d21313114b817ad701dc4092c77ab3861a9 (diff)
downloadwebsite-bf0e20c737bc3b6e2f92a90b094fb5a646a0c7a3.tar.gz
website-bf0e20c737bc3b6e2f92a90b094fb5a646a0c7a3.tar.bz2
website-bf0e20c737bc3b6e2f92a90b094fb5a646a0c7a3.tar.xz
website-bf0e20c737bc3b6e2f92a90b094fb5a646a0c7a3.zip
Fix Gender Never being properly mapped
Diffstat (limited to 'bin/create_account.sh')
-rw-r--r--[-rwxr-xr-x]bin/create_account.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/create_account.sh b/bin/create_account.sh
index f073a48..4c2eb9b 100755..100644
--- a/bin/create_account.sh
+++ b/bin/create_account.sh
@@ -66,9 +66,6 @@ frob_accounts()
IFS=$'\t'
while read ID USERNAME PASSWORD EMAIL GENDER
do
- if test "$GENDER" = '1'; then GENDER=M; fi
- if test "$GENDER" = '2'; then GENDER=F; fi
-
RESULT=$(cd $LADMIN_DIR; $LADMIN_BIN <<< "create $USERNAME $GENDER $EMAIL $PASSWORD" 2>&1)
echo RESULT: "$RESULT"
if grep -q 'successfully created' <<< "$RESULT"