Skip to content
Snippets Groups Projects
Commit 7496b3d3 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-luci-admin: fix SSH keys being removed when a password is set

parent f9cc7318
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,11 @@ if fs.access("/etc/config/dropbear") then
end
function keys.remove(self, section)
if keys:formvalue("_keys") then
fs.remove("/etc/dropbear/authorized_keys")
end
end
end
local m2 = Map("system", "Passwort")
m2.submit = "Speichern"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment