Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Jun 27, 2023
1 parent 12a3874 commit 22020d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions avRegistration/login-directive/login-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,14 +444,14 @@ angular.module('avRegistration')
$window.location.href = '/booth/' + autheventid + '/vote';
} else {
scope.error = $i18next(
'avRegistration.loginError.' + authevent.auth_method + '.unrecognizedServerResponse',
'avRegistration.loginError.' + scope.method + '.unrecognizedServerResponse',
{support: ConfigService.contact.email}
);
}
} else {
scope.sendingData = false;
scope.error = $i18next(
'avRegistration.loginError.' + authevent.auth_method + '.invalidServerResponse',
'avRegistration.loginError.' + scope.method + '.invalidServerResponse',
{support: ConfigService.contact.email}
);
}
Expand All @@ -460,7 +460,7 @@ angular.module('avRegistration')
scope.sendingData = false;
var codename = response.data.error_codename;
scope.error = $i18next(
'avRegistration.loginError.' + authevent.auth_method + '.' + codename,
'avRegistration.loginError.' + scope.method + '.' + codename,
{support: ConfigService.contact.email}
);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/appCommon-vmaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,15 +550,15 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist
isFirst: 0 === index
};
}).value(), $window.sessionStorage.setItem("vote_permission_tokens", JSON.stringify(tokens)),
$window.location.href = "/booth/" + autheventid + "/vote") : scope.error = $i18next("avRegistration.loginError." + authevent.auth_method + ".unrecognizedServerResponse", {
$window.location.href = "/booth/" + autheventid + "/vote") : scope.error = $i18next("avRegistration.loginError." + scope.method + ".unrecognizedServerResponse", {
support: ConfigService.contact.email
})) : (scope.sendingData = !1, scope.error = $i18next("avRegistration.loginError." + authevent.auth_method + ".invalidServerResponse", {
})) : (scope.sendingData = !1, scope.error = $i18next("avRegistration.loginError." + scope.method + ".invalidServerResponse", {
support: ConfigService.contact.email
}));
}, function(codename) {
scope.sendingData = !1;
codename = codename.data.error_codename;
scope.error = $i18next("avRegistration.loginError." + authevent.auth_method + "." + codename, {
scope.error = $i18next("avRegistration.loginError." + scope.method + "." + codename, {
support: ConfigService.contact.email
});
}))) : scope.resendAuthCode()));
Expand Down

0 comments on commit 22020d3

Please sign in to comment.