aboutsummaryrefslogtreecommitdiff
path: root/src/clientiface.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-04-27 19:32:51 +0200
committersfan5 <sfan5@live.de>2022-05-14 18:33:42 +0200
commita55982e7f01c83d5289b8018754963299b9e9484 (patch)
tree80e412bcc33ec2a7c0252601c8e32ede523e815f /src/clientiface.h
parent1ac378063e37e5b1485438e5321252b42471ba79 (diff)
downloadminetest-a55982e7f01c83d5289b8018754963299b9e9484.tar.gz
minetest-a55982e7f01c83d5289b8018754963299b9e9484.tar.bz2
minetest-a55982e7f01c83d5289b8018754963299b9e9484.zip
Fix password changing getting stuck if wrong password is entered once
Diffstat (limited to 'src/clientiface.h')
-rw-r--r--src/clientiface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clientiface.h b/src/clientiface.h
index b1591ddb0..04e8b8033 100644
--- a/src/clientiface.h
+++ b/src/clientiface.h
@@ -242,6 +242,8 @@ public:
u32 allowed_auth_mechs = 0;
u32 allowed_sudo_mechs = 0;
+ void resetChosenMech();
+
bool isSudoMechAllowed(AuthMechanism mech)
{ return allowed_sudo_mechs & mech; }
bool isMechAllowed(AuthMechanism mech)