Skip to content

Commit

Permalink
Strip whitespace when entering client id/secret
Browse files Browse the repository at this point in the history
  • Loading branch information
PrometheusSatyen committed Apr 21, 2018
1 parent 38dcc96 commit 831ab37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class Settings extends React.Component {

handleChange(event, value) {
let change = {};
change[event.target.id] = event.target.value;
change[event.target.id] = event.target.value.trim();
this.setState(change);
};

Expand Down

0 comments on commit 831ab37

Please sign in to comment.