mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Remove irrelevant debugging
This commit is contained in:
parent
521bc90b5f
commit
5e5bf21281
@ -436,7 +436,6 @@ export default React.createClass({
|
||||
|
||||
switch (payload.action) {
|
||||
case 'logout':
|
||||
console.log(payload);
|
||||
Lifecycle.logout();
|
||||
break;
|
||||
case 'require_registration':
|
||||
@ -1369,7 +1368,6 @@ export default React.createClass({
|
||||
if (errObj.httpStatus === 401 && errObj.data && errObj.data['soft_logout']) {
|
||||
console.warn("Soft logout issued by server - avoiding data deletion");
|
||||
Lifecycle.softLogout();
|
||||
dis.dispatch({actions: 'soft_logout'});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user