summaryrefslogtreecommitdiff
path: root/ui/app/components/greeter_panel.js
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-11-08 13:55:08 -0800
committerelijah <elijah@riseup.net>2016-11-08 13:55:08 -0800
commit9d845e98a2a5cda8aaa22f581e28506a627dca43 (patch)
tree0f4807a7b76a4218c3c86420969a6f993428d715 /ui/app/components/greeter_panel.js
parent395612dffea06b52153b7a6acf22ab33207c9346 (diff)
ui: auto-initialize provider when logging in from the greeter
Diffstat (limited to 'ui/app/components/greeter_panel.js')
-rw-r--r--ui/app/components/greeter_panel.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/greeter_panel.js b/ui/app/components/greeter_panel.js
index c95b183..acaf0d5 100644
--- a/ui/app/components/greeter_panel.js
+++ b/ui/app/components/greeter_panel.js
@@ -17,7 +17,7 @@ export default class GreeterPanel extends React.Component {
}
onLogin(account) {
- App.show('main', {initialAccount: account})
+ App.start()
}
render () {
@@ -25,7 +25,8 @@ export default class GreeterPanel extends React.Component {
<Splash speed="slow" mask={false} />
<Center width="400">
<Area position="top" type="light" className="greeter">
- <Login onLogin={this.onLogin.bind(this)} rememberAllowed={false}/>
+ <Login onLogin={this.onLogin.bind(this)}
+ rememberAllowed={false} autoAllowed={true} />
</Area>
<Area position="bottom" type="dark" className="greeter">
<Glyphicon glyph="user" />