mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 620952 - Trim whitespace from sync account/password [r=vingtetun]
This commit is contained in:
parent
73885efaff
commit
80b1099ac4
@ -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