diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-12-22 17:11:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 17:11:21 +0100 |
commit | bc07b29494abd5dff7875175df91df38d0b908ac (patch) | |
tree | 05f82f8ca3787011e2a0810e7d85c9d81e4b222f /server/sonar-web/src/main/js/apps/about/components | |
parent | e52ca10a4a1b07d05c894e0d8564ffa1b5af3e47 (diff) | |
download | sonarqube-bc07b29494abd5dff7875175df91df38d0b908ac.tar.gz sonarqube-bc07b29494abd5dff7875175df91df38d0b908ac.zip |
upgrade eslint and its plugins, tune rules (#1481)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about/components')
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/LoginForm.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/LoginForm.js b/server/sonar-web/src/main/js/apps/about/components/LoginForm.js index 631959f8ec0..c9f022a3d94 100644 --- a/server/sonar-web/src/main/js/apps/about/components/LoginForm.js +++ b/server/sonar-web/src/main/js/apps/about/components/LoginForm.js @@ -57,7 +57,7 @@ export default class LoginForm extends React.Component { <div className="big-spacer-bottom"> <label htmlFor="login" className="login-label">{translate('login')}</label> - <input type="text" id="login" name="login" className="login-input" maxLength="255" required + <input type="text" id="login" name="login" className="login-input" maxLength="255" required={true} placeholder={translate('login')} value={this.state.login} onChange={e => this.setState({ login: e.target.value })}/> @@ -65,7 +65,7 @@ export default class LoginForm extends React.Component { <div className="big-spacer-bottom"> <label htmlFor="password" className="login-label">{translate('password')}</label> - <input type="password" id="password" name="password" className="login-input" required + <input type="password" id="password" name="password" className="login-input" required={true} placeholder={translate('password')} value={this.state.password} onChange={e => this.setState({ password: e.target.value })}/> |