summaryrefslogtreecommitdiffhomepage
path: root/app/components/Login.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-03-01 16:59:20 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-03-01 16:59:20 +0000
commitafe91adaa7bf80663e539117f80fec9c2fb5b3fc (patch)
treeafdb428670b17de4218ad0914e305ee2b93753d6 /app/components/Login.js
parentf4df32b86edb8f8867f9d67ae1fbeeabe10723ae (diff)
downloadmullvadvpn-afe91adaa7bf80663e539117f80fec9c2fb5b3fc.tar.xz
mullvadvpn-afe91adaa7bf80663e539117f80fec9c2fb5b3fc.zip
Add settings button in header bar
Diffstat (limited to 'app/components/Login.js')
-rw-r--r--app/components/Login.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/components/Login.js b/app/components/Login.js
index 7c1c32ba05..43cccf3f69 100644
--- a/app/components/Login.js
+++ b/app/components/Login.js
@@ -8,6 +8,7 @@ export default class Login extends Component {
static propTypes = {
user: PropTypes.object.isRequired,
onLogin: PropTypes.func.isRequired,
+ onSettings: PropTypes.func.isRequired,
onChange: PropTypes.func.isRequired,
onFirstChangeAfterFailure: PropTypes.func.isRequired,
onExternalLink: PropTypes.func.isRequired,
@@ -133,7 +134,7 @@ export default class Login extends Component {
return (
<Layout>
- <Header />
+ <Header showSettings={ true } onSettings={ this.props.onSettings } />
<Container>
<div className="login">
<div className="login-form">