mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[mod] remove useless comment
This commit is contained in:
parent
e25a8cb738
commit
dfdb70f4ce
1 changed files with 0 additions and 1 deletions
|
@ -115,7 +115,6 @@ end
|
|||
before path do
|
||||
if params.has_key?("public_key")
|
||||
public_key = Base64.decode64(params[:public_key].encode('ascii-8bit'))
|
||||
# might be 88
|
||||
unless public_key.length == 24 or public_key.length == 32
|
||||
halt 400, { :error => "Key is invalid: #{public_key.to_s.encode('UTF-8', {:invalid => :replace, :undef => :replace, :replace => '?'})}" }.to_json
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue