Fixes broken requireDisplayName feature.

It was asking for new display name even if we have had one configured already.
This commit is contained in:
paweldomas 2016-01-14 13:38:58 -06:00
parent cd4ebca730
commit ea24c6a66a
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ UI.start = function () {
document.title = interfaceConfig.APP_NAME;
if(config.requireDisplayName) {
if (APP.settings.getDisplayName()) {
if (!APP.settings.getDisplayName()) {
promptDisplayName();
}
}