Lars Hesel Christensen 5 years ago
parent
commit
5bad16d2ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/commands/epgsql_cmd_connect.erl

+ 1 - 1
src/commands/epgsql_cmd_connect.erl

@@ -226,7 +226,7 @@ auth_scram(_, _, _) ->
 handle_message(?AUTHENTICATION_REQUEST, <<?AUTH_OK:?int32>>, Sock, State) ->
     {noaction, Sock, State#connect{stage = initialization,
                                    auth_fun = undefined,
-                                   auth_state = undefned,
+                                   auth_state = undefined,
                                    auth_send = undefined}};
 
 handle_message(?AUTHENTICATION_REQUEST, Message, Sock, #connect{stage = Stage} = St) when Stage =/= auth ->