Merge branch 'ent-6138-credentials-without-identifier-error-message' into 'develop'
Fixed credential store error message on required inputs See merge request artica/pandorafms!3428
This commit is contained in:
commit
8ef5e7cb9f
|
@ -571,6 +571,11 @@ class CredentialStore extends Wizard
|
||||||
$error = __('You must specify a username and/or password');
|
$error = __('You must specify a username and/or password');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($error)) {
|
||||||
|
$this->ajaxMsg('error', $error);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
// Encrypt content (if needed).
|
// Encrypt content (if needed).
|
||||||
$values = [
|
$values = [
|
||||||
'identifier' => $identifier,
|
'identifier' => $identifier,
|
||||||
|
|
Loading…
Reference in New Issue