From dc2e6ab53c65b8507c9eac0c292054eb0f17344c Mon Sep 17 00:00:00 2001 From: turtled Date: Fri, 26 May 2017 12:31:07 +0800 Subject: [PATCH] Hash type add bcrypt --- src/emqttd_auth_mod.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emqttd_auth_mod.erl b/src/emqttd_auth_mod.erl index 14e4468e3..c94578c46 100644 --- a/src/emqttd_auth_mod.erl +++ b/src/emqttd_auth_mod.erl @@ -22,7 +22,7 @@ -export([passwd_hash/2]). --type(hash_type() :: plain | md5 | sha | sha256 | pbkdf2). +-type(hash_type() :: plain | md5 | sha | sha256 | pbkdf2 | bcrypt). %%-------------------------------------------------------------------- %% Authentication behavihour