221V 1 год назад
Родитель
Сommit
f3fc6f269b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/avz.erl

+ 1 - 1
src/avz.erl

@@ -23,7 +23,7 @@
 ]).
 
 
-sha(Pass) -> crypto:hmac(wf:config(n2o,hmac,sha256),n2o_secret:secret(),wf:to_binary(Pass)).
+sha(Pass) -> crypto:hmac(wf:config(n4u,hmac,sha256),n2o_secret:secret(),wf:to_binary(Pass)).
 update({K,V},P) -> wf:setkey(K,1,case P of undefined -> []; _P -> _P end,{K,V}).
 
 coalesce(X,undefined) -> X;