From e493578beb26ff7aafe45df35a50e36c46aafeb8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 22 Feb 2018 12:04:45 +0000 Subject: [PATCH] xmpp password command not needed --- man/freedombone-xmpp-pass.1.gz | Bin 287 -> 0 bytes src/freedombone-xmpp-pass | 71 --------------------------------- 2 files changed, 71 deletions(-) delete mode 100644 man/freedombone-xmpp-pass.1.gz delete mode 100755 src/freedombone-xmpp-pass diff --git a/man/freedombone-xmpp-pass.1.gz b/man/freedombone-xmpp-pass.1.gz deleted file mode 100644 index ea53bdbc5f2cef92cc3a26d765747934ca9aff23..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR{0iwFQiv5r~*1C5VOYXUJ4hVS_mLoPjSRtsLF6hCUKht~5V^Jdg$4*Nhn~(Rs`p_PZvtqy8vk6CChVYT4|>$UYD!9 zSQOWE3Bel~tdD?Y8Ho9#10QC^biK$oi`7z!e>JL(oSo44Belywd#=`=5sQXK?G$U< z!ISM%``0yj7b589z<^Px2~;t99;WG`j#Z=8&Y4srS7Dc46r?qCL)@vx+s%BnmSW;G lWG=>l2JW=eqYFY=iuXe4Af8DNzgvDK#1}y$F$3TM008CggBAb) diff --git a/src/freedombone-xmpp-pass b/src/freedombone-xmpp-pass deleted file mode 100755 index 78120c26..00000000 --- a/src/freedombone-xmpp-pass +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash -# -# .---. . . -# | | | -# |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. -# | | (.-' (.-' ( | ( )| | | | )( )| | (.-' -# ' ' --' --' -' - -' ' ' -' -' -' ' - --' -# -# Freedom in the Cloud -# - -# Changes the password for an XMPP user - -# License -# ======= -# -# Copyright (C) 2015-2018 Bob Mottram -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -PROJECT_NAME='freedombone' - -export TEXTDOMAIN=${PROJECT_NAME}-xmpp-pass -export TEXTDOMAINDIR="/usr/share/locale" - -EMAIL_ADDRESS= - -function show_help { - echo '' - echo $"${PROJECT_NAME}-xmpp-pass -e [email address]" - echo '' - exit 0 -} - -while [[ $# > 1 ]] -do -key="$1" - -case $key in - -h|--help) - show_help - ;; - -e|--email) - shift - EMAIL_ADDRESS="$1" - ;; - *) - # unknown option - ;; -esac -shift -done - -if [ ! $EMAIL_ADDRESS ]; then - show_help -fi - -prosodyctl passwd $EMAIL_ADDRESS - -exit 0