diff --git a/public/react/src/modules/login/LoginDialog.js b/public/react/src/modules/login/LoginDialog.js index 6e5b171e3..9821f0483 100644 --- a/public/react/src/modules/login/LoginDialog.js +++ b/public/react/src/modules/login/LoginDialog.js @@ -1,3 +1,4 @@ + import React, { Component } from 'react'; import { notification } from 'antd'; @@ -373,20 +374,6 @@ class LoginDialog extends Component { if (response === undefined) { return } - let newloginValue=loginValue.replace(/(^\s*)|(\s*$)/g, ""); - let newpassValue=passValue.replace(/(^\s*)|(\s*$)/g, ""); - - let url='/accounts/login.json' - axios.post(url, { - login:newloginValue, - password:newpassValue, - autologin:isGoingValue - } - ).then((response) => { - - if(response===undefined){ - return - } if (response.status === 200) { if (response.data.status === 402) {