Unverified Commit 32a8fd79 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Allow either name or mail for smartcard keys

This is what we also do for normal keys so we should
not enforce mail for smartcards.
parent 7c8fd291
Pipeline #224493 failed with stage
in 1 minute and 17 seconds
......@@ -142,6 +142,8 @@ public:
return;
}
if (!mail.isEmpty()) {
// Empty Mail is also acceptable if the name is set.
mOkButton->setEnabled(!mNameEdit->isEmpty());
mInvalidEmailLabel->show();
} else {
mInvalidEmailLabel->hide();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment