diff --git a/src/modules/login/LoginDialog.js b/src/modules/login/LoginDialog.js index a9cb52fc1..f927ca488 100644 --- a/src/modules/login/LoginDialog.js +++ b/src/modules/login/LoginDialog.js @@ -13,6 +13,7 @@ import cookie from 'react-cookies'; import './LoginDialog.css'; import { broadcastChannelPostMessage } from 'educoder' import Notcompletedysl from "../user/Notcompletedysl"; +import { Encrypt } from '../../common/Env'; const $ = window.$; var wait = 60; @@ -371,7 +372,7 @@ class LoginDialog extends Component { let url = '/accounts/login.json' axios.post(url, { login: newloginValue, - password: newpassValue, + password: Encrypt(newpassValue), autologin: isGoingValue } ).then((response) => {