diff --git a/makefile b/makefile index c1c4dc6..7d30a0e 100644 --- a/makefile +++ b/makefile @@ -21,7 +21,7 @@ setup: DATA_DIRECTORY ?= /tmp/DATA-AUTHD run-authd: setup - ./bin/authd -k /tmp/PASSWORD -R -E --storage $(DATA_DIRECTORY) + ./bin/authd -k $(PASSWORD_FILE) -R -E --storage $(DATA_DIRECTORY) # First user always is the admin. add-first-user: diff --git a/src/client.cr b/src/client.cr index ee4b008..58abf87 100644 --- a/src/client.cr +++ b/src/client.cr @@ -163,8 +163,6 @@ class Actions email = Context.email - # TODO: login. - Baguette::Log.error "This function shouldn't be used for now." Baguette::Log.error "It is way too cumbersome." @@ -176,9 +174,6 @@ class Actions args = Context.args.not_nil! userid = args[0].to_i - # Context.authd_login, Context.authd_pass - # TODO: login. - res = authd.delete userid puts res