Skip to content

Commit fdeba40

Browse files
author
Kristan Kenney
authored
Merge pull request hestiacp#181 from kristankenney/master
Language fixes in v-check-user-2fa
2 parents 7473d16 + 8723c66 commit fdeba40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-check-user-2fa

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ source $USER_DATA/user.conf
3636

3737
# Check if 2FA is enabled
3838
if [ -z "$TWOFA" ]; then
39-
echo "Error: 2FA is not enabled"
39+
echo "Error: Two-factor authentication is not enabled."
4040
exit $E_NOTEXIST
4141
fi
4242

4343
# Check if token is valid
4444
result=$($HESTIA/php/bin/php $HESTIA/web/inc/2fa/check.php $TWOFA $token)
4545
if [ "$result" != "ok" ]; then
46-
echo "Error: Token missmatch"
46+
echo "Error: Authentication token mismatch."
4747
exit 9
4848
fi
4949

0 commit comments

Comments
 (0)