summaryrefslogtreecommitdiff
path: root/src/http_auth.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/http_auth.erl')
-rw-r--r--src/http_auth.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http_auth.erl b/src/http_auth.erl
index e083a2c..c8a8389 100644
--- a/src/http_auth.erl
+++ b/src/http_auth.erl
@@ -25,9 +25,8 @@ read_key_table() ->
none
end.
-
own_name() ->
- {_Key, KeyName} = own_key(),
+ {ok, {KeyName, _}} = application:get_env(plop, own_key),
KeyName.
own_key() ->