mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 620952 - Trim whitespace from sync account/password [r=vingtetun]
This commit is contained in:
parent
d05f599e38
commit
e86d8b6e0d
@ -162,10 +162,10 @@ let WeaveGlue = {
|
||||
|
||||
// Save current setup data
|
||||
this.setupData = {
|
||||
account: this._elements.account.value,
|
||||
password: this._elements.password.value,
|
||||
synckey: Weave.Utils.normalizePassphrase(this._elements.synckey.value),
|
||||
serverURL: this._validateServer(this._elements.customserver.value)
|
||||
account: this._elements.account.value.trim(),
|
||||
password: this._elements.password.value.trim(),
|
||||
synckey: Weave.Utils.normalizePassphrase(this._elements.synckey.value.trim()),
|
||||
serverURL: this._validateServer(this._elements.customserver.value.trim())
|
||||
};
|
||||
|
||||
// Clear the UI so it's ready for next time
|
||||
|
Loading…
Reference in New Issue
Block a user