Browse Source

Fixes broken requireDisplayName feature.

It was asking for new display name even if we have had one configured already.
master
paweldomas 10 years ago
parent
commit
ea24c6a66a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/UI/UI.js

+ 1
- 1
modules/UI/UI.js View File

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

Loading…
Cancel
Save