diff --git a/app/widgets/Login/Login.php b/app/widgets/Login/Login.php index 5b280408b..047952477 100644 --- a/app/widgets/Login/Login.php +++ b/app/widgets/Login/Login.php @@ -183,10 +183,8 @@ class Login extends \Movim\Widget\Base $here = $sd->getHash(sha1($username.$password.$host)); if($here) { - //if($s->get('hash') == sha1($username.$password.$host)) { RPC::call('Login.setCookie', $here->session); RPC::call('MovimUtils.redirect', $this->route('main')); - $this->showErrorBlock('conflict'); return; } diff --git a/app/widgets/Login/locales.ini b/app/widgets/Login/locales.ini index 5d5d3ef14..05d555775 100644 --- a/app/widgets/Login/locales.ini +++ b/app/widgets/Login/locales.ini @@ -16,7 +16,6 @@ default = Unknown error login_format = Invalid username format password_format = Invalid password format unauthorized = Your XMPP server is unauthorized -conflict = A Movim session is already open on an other device wrong_account = Movim failed to authenticate. You entered wrong data mechanism = Authentication mechanism not supported by Movim fail_auth = The XMPP authentification failed