mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Add back form input for PASS
This commit is contained in:
parent
69f0658b1e
commit
ef23d44eed
2 changed files with 5 additions and 0 deletions
|
@ -560,6 +560,7 @@ connectFormElt.onsubmit = function(event) {
|
||||||
server.nick = connectFormElt.elements.nick.value;
|
server.nick = connectFormElt.elements.nick.value;
|
||||||
server.username = connectFormElt.elements.username.value || server.nick;
|
server.username = connectFormElt.elements.username.value || server.nick;
|
||||||
server.realname = connectFormElt.elements.realname.value || server.nick;
|
server.realname = connectFormElt.elements.realname.value || server.nick;
|
||||||
|
server.pass = connectFormElt.elements.pass.value;
|
||||||
|
|
||||||
server.saslPlain = null;
|
server.saslPlain = null;
|
||||||
if (connectFormElt.elements.password.value) {
|
if (connectFormElt.elements.password.value) {
|
||||||
|
|
|
@ -57,6 +57,10 @@
|
||||||
<input type="text" name="realname" id="connect-realname" placeholder="Same as nickname"/>
|
<input type="text" name="realname" id="connect-realname" placeholder="Same as nickname"/>
|
||||||
<br/><br/>
|
<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/>
|
<label for="connect-autojoin">Auto-join channels:</label><br/>
|
||||||
<input type="text" name="autojoin" id="connect-autojoin" placeholder="Comma-separated list of channels"/>
|
<input type="text" name="autojoin" id="connect-autojoin" placeholder="Comma-separated list of channels"/>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Reference in a new issue