aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-09-10 22:06:12 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-09-10 22:06:12 +0200
commit15b3e51ee489c0b18497fed0824539cf2b40fd3d (patch)
tree795a602ad5024fc5396947bc8266138bb0825862
parentb51de36af2a3728b70aaad81710d6a575f140abc (diff)
downloadtacticians-server-15b3e51ee489c0b18497fed0824539cf2b40fd3d.zip
tacticians-server-15b3e51ee489c0b18497fed0824539cf2b40fd3d.tar.bz2
Woops, that triggers error when the pwd is correct
-rw-r--r--src/login/query/lgn_sign_in.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/query/lgn_sign_in.erl b/src/login/query/lgn_sign_in.erl
index 89801b1..ee098b9 100644
--- a/src/login/query/lgn_sign_in.erl
+++ b/src/login/query/lgn_sign_in.erl
@@ -65,7 +65,7 @@ update_data (QueryState, Input) ->
Player = QueryState#query_state.player,
case shr_player:password_is(InputPassword, Player) of
- true -> error({password, QueryState#query_state.player_id});
+ false -> error({password, QueryState#query_state.player_id});
_ -> ok
end,