question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

placeholder="user@domain.net" is confusing

See original GitHub issue

Description

After enabling LDAP authentication we had multiple people who tried to enter their full email address as username since the login popup asks them for user@domain.net while they need to just enter their username.

Current behavior

placeholder="user@domain.net"

Expected Behavior

placeholder="username" - probably internationalized as “Benutzername” in German, since you also ask for “Benutzerpasswort”

Possible Solution

Fix the placeholder to a more generic value

Steps to reproduce

Enable authentication and create a room.

Environment details

Debian 10, Jitsi debian package 1.0.4101-1, Firefox 74.0 on MacOS.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
webslidercommented, May 8, 2020

Hi there ! For those who don’t want to edit app.bundle.min.js, here is a workaround using MutationObserver that I’ve put in my /usr/share/jitsi-meet/plugin.head.html :

<script>
var observer = new MutationObserver(function (mutations, me) {
  if(!window.APP.conference.isJoined()){
    var canvas = $('input[name ="username"]').length;
        if (canvas) {
          $('input[name ="username"]').attr('placeholder', 'login');
          return;
        }
  }
  else {
    me.disconnect(); // we joined a conference, stop observing
  }
});

$(document).ready(function() {
  // start observing
  observer.observe(document, {
    childList: true,
    subtree: true
  });
});
</script>
2reactions
slackluiscommented, May 2, 2020

Same problem here! It would be useful if the placeholder could be customized.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1337 Admin P4Ge FiNd3r.exe - Hybrid Analysis
Suspicious Indicators 22 · Contains ability to find and load resources of a specific module. details: FindResourceA@KERNEL32.dll (Show Stream) · Opened the ...
Read more >
.NET and Its Confusing Terms Explained
NET developers or at job interviews. I myself had a hard time learning these terms when I got started, because it can be...
Read more >
The Definitive Guide to HTML5 - ProfBurnett.com
The net effect of this is that although CSS pixels are intended to be a ... can cause confusion because JavaScript converts types...
Read more >
Google Sheets Programming With Google Apps Script (2015 ...
Google Sheets is one of the core components of Google cloud applications. If you have a Gmail account, you can create and.
Read more >
HTML5-Cookbook.pdf - Pepa
The difference between section and article can be confusing, and as the spec ... Guide to HTML5 Boilerplate at http://net.tutsplus.com/tutorials/html-css.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found