HCoop
/
hcoop
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b570f73
)
new-user: use most recent generated password for username
author
Clinton Ebadi
<clinton@unknownlamer.org>
Sat, 15 Dec 2018 17:22:57 +0000
(12:22 -0500)
committer
Clinton Ebadi
<clinton@unknownlamer.org>
Sat, 15 Dec 2018 17:22:57 +0000
(12:22 -0500)
It is possible for the same username to apply multiple times and not
finish the application, make sure to use the most recent one.
new-user
patch
|
blob
|
blame
|
history
diff --git
a/new-user
b/new-user
index
cb64723
..
86a5692
100755
(executable)
--- a/
new-user
+++ b/
new-user
@@
-14,7
+14,7
@@
if test -z "$REALNM"; then
exit 1
fi
-INITPW=$(sudo -u hcoop psql
hcoop_hcoop
-tc "select unix_passwd from MemberApp where name = '${USERNM}' order by id desc limit 1;")
+INITPW=$(sudo -u hcoop psql
-p 5433 hcoop_portal3
-tc "select unix_passwd from MemberApp where name = '${USERNM}' order by id desc limit 1;")
#