Small contribution.

master
Philippe Pittoli 2023-06-16 01:28:10 +02:00
parent e3f52ff088
commit 95c4af02f0
2 changed files with 1 additions and 6 deletions

View File

@ -21,7 +21,7 @@ setup:
DATA_DIRECTORY ?= /tmp/DATA-AUTHD DATA_DIRECTORY ?= /tmp/DATA-AUTHD
run-authd: setup 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. # First user always is the admin.
add-first-user: add-first-user:

View File

@ -163,8 +163,6 @@ class Actions
email = Context.email email = Context.email
# TODO: login.
Baguette::Log.error "This function shouldn't be used for now." Baguette::Log.error "This function shouldn't be used for now."
Baguette::Log.error "It is way too cumbersome." Baguette::Log.error "It is way too cumbersome."
@ -176,9 +174,6 @@ class Actions
args = Context.args.not_nil! args = Context.args.not_nil!
userid = args[0].to_i userid = args[0].to_i
# Context.authd_login, Context.authd_pass
# TODO: login.
res = authd.delete userid res = authd.delete userid
puts res puts res