From 395612dffea06b52153b7a6acf22ab33207c9346 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 8 Nov 2016 11:04:15 -0800 Subject: ui: allow removing accounts --- ui/app/components/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/app/components/login.js') diff --git a/ui/app/components/login.js b/ui/app/components/login.js index af3dfe8..9ff6541 100644 --- a/ui/app/components/login.js +++ b/ui/app/components/login.js @@ -390,7 +390,7 @@ class Login extends React.Component { } doLogin() { - let account = Account.find_or_add(this.state.username) + let account = Account.findOrAdd(this.state.username) account.login(this.state.password).then( account => { this.setState({loading: false}) -- cgit v1.2.3