Small contribution.
parent
e3f52ff088
commit
95c4af02f0
2
makefile
2
makefile
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue