Commit b65bf8a5 authored by Taegyun Kim's avatar Taegyun Kim

edit auth

parent 5b043380
......@@ -12,7 +12,7 @@ load() ->
on_client_authenticate(#{username := Username, password := Password}, AuthResult) ->
if
(Username == undefined) and (Password == undefined) ->
{stop, AuthResult#{username => anonymous, auth_result => success, anonymous => false}};
{stop, AuthResult#{username => "anonymous", auth_result => success, anonymous => false}};
true ->
{ok, AuthResult}
end.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment