This commit is contained in:
the-djmaze 2024-11-11 23:57:41 +01:00
parent bc6a2b67c0
commit 91ff43e6ab
2 changed files with 4 additions and 3 deletions

View file

@ -18,8 +18,8 @@ export class AdminSettingsDomains /*extends AbstractViewSettings*/ {
testUsername() {
Remote.request('AdminDomainMatch',
(iError, oData) => {
if (oData?.Result?.domain) {
alert(`${oData.Result.email} matched domain: ${oData.Result.domain.name}`);
if (oData?.Result?.name) {
alert(`${oData.Result.email} matched domain: ${oData.Result.name}`);
} else {
alert('No domain match');
}