Skip to content

Commit

Permalink
Update mattermost.sh
Browse files Browse the repository at this point in the history
modify Email Verification
  • Loading branch information
mog0202 authored Dec 3, 2018
1 parent 6b314ca commit 9bb7e05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mattermost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ emailSearchFlg=`mattermost user search $email 2>&1 | wc -l`
if [ "$userNameSearchFlg" = "1" ] ; then
if [ "$emailSearchFlg" = "1" ] ; then
mattermost user create --system_admin --email $email --username $userName --password $passWord
mattermost user verify $userName
if [ $? != 0 ];then
echo "システムユーザを作成することが失敗しました!"
exit 1
Expand Down

0 comments on commit 9bb7e05

Please sign in to comment.