Allow for resetting the SSH public key
commit86352459ab6a75866376bac5a3baa94f1a736909
authorLukas Fleischer <lfleischer@archlinux.org>
Sun, 31 May 2015 17:09:14 +0000 (31 19:09 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Sun, 31 May 2015 17:16:31 +0000 (31 19:16 +0200)
treedbfc2eb3f44b387f6495b4296c65e88e999a9bb6
parent8c4428de5d05faea000dc3894996d61a065c8660
Allow for resetting the SSH public key

Use NULL instead of an empty string if the SSH public key field is left
empty. Additionally, do not check for duplicate keys in that case.

Fixes FS#45109.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/acctfuncs.inc.php