blob: 148461d896dfd92f86b309cc51e464c1d4e671a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- motp-manager.dist 2011-08-15 15:37:00.768192290 +0100
+++ motp-manager 2011-08-15 15:38:21.207856229 +0100
@@ -144,7 +144,7 @@ user_add() {
if [[ ${#secret} -gt 32 || ${#secret} -lt 16 ]]
then
echo "Please specify secret between 16 and 32 characters."
- elif [[ $secret != +([0-9abcdffABCDEF]) ]]
+ elif [[ $secret != +([0-9abcdefABCDEF]) ]]
then
echo "Specified secret is invalid HEX."
|