Browse Source

update emqttd_auth_mod.erl code format

huangpengju 9 years ago
parent
commit
61a71e7559
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/emqttd_auth_mod.erl

+ 1 - 1
src/emqttd_auth_mod.erl

@@ -60,7 +60,7 @@ passwd_hash(sha,    Password)  ->
     hexstring(crypto:hash(sha, Password));
 passwd_hash(sha256, Password)  ->
     hexstring(crypto:hash(sha256, Password));
-passwd_hash(pbkdf2,{Salt,Password,Macfun,Iterations,Dklen}) ->
+passwd_hash(pbkdf2,{Salt, Password, Macfun, Iterations, Dklen}) ->
     {ok,Hexstring} = pbkdf2:pbkdf2(Macfun, Password, Salt, Iterations, Dklen),
     pbkdf2:to_hex(Hexstring).