mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[fix] we don't expect this argument
This commit is contained in:
parent
dfcfbf472b
commit
d4964421ec
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ post '/key/:public_key' do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Migrate a key from hmac-md5 to hmac-sha512 because it's 2017
|
# Migrate a key from hmac-md5 to hmac-sha512 because it's 2017
|
||||||
put '/migrate_key_to_sha512/:public_key' do
|
put '/migrate_key_to_sha512/' do
|
||||||
# TODO check parameters
|
# TODO check parameters
|
||||||
params[:public_key_md5] = Base64.decode64(params[:public_key_md5].encode('ascii-8bit'))
|
params[:public_key_md5] = Base64.decode64(params[:public_key_md5].encode('ascii-8bit'))
|
||||||
params[:public_key_sha512] = Base64.decode64(params[:public_key_sha512].encode('ascii-8bit'))
|
params[:public_key_sha512] = Base64.decode64(params[:public_key_sha512].encode('ascii-8bit'))
|
||||||
|
|
Loading…
Reference in a new issue