Add back form input for PASS

This commit is contained in:
Simon Ser 2020-06-12 18:19:59 +02:00
parent 69f0658b1e
commit ef23d44eed
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 5 additions and 0 deletions

View file

@ -560,6 +560,7 @@ connectFormElt.onsubmit = function(event) {
server.nick = connectFormElt.elements.nick.value;
server.username = connectFormElt.elements.username.value || server.nick;
server.realname = connectFormElt.elements.realname.value || server.nick;
server.pass = connectFormElt.elements.pass.value;
server.saslPlain = null;
if (connectFormElt.elements.password.value) {

View file

@ -57,6 +57,10 @@
<input type="text" name="realname" id="connect-realname" placeholder="Same as nickname"/>
<br/><br/>
<label for="connect-pass">Server password:</label><br/>
<input type="text" name="pass" id="connect-pass" placeholder="None"/>
<br/><br/>
<label for="connect-autojoin">Auto-join channels:</label><br/>
<input type="text" name="autojoin" id="connect-autojoin" placeholder="Comma-separated list of channels"/>
<br/>