Don't save default username/realname in local storage

This commit is contained in:
Simon Ser 2021-05-31 17:57:17 +02:00
parent bc7162ebe2
commit c632ef4339
2 changed files with 14 additions and 3 deletions

View file

@ -49,8 +49,8 @@ export default class ConnectForm extends Component {
pass: this.state.serverPass,
nick: this.state.nick,
autoconnect: this.state.rememberMe,
username: this.state.username || this.state.nick,
realname: this.state.realname || this.state.nick,
username: this.state.username,
realname: this.state.realname,
saslPlain: null,
autojoin: [],
};