mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
Хэширование пароля
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "dialogauthorizationinstructor.h"
|
||||
#include "dialogsettings.h"
|
||||
#include "specialmessagebox.h"
|
||||
#include "hashtools.h"
|
||||
|
||||
|
||||
const QString InstructorsAndTraineesWidget::languageENG = "en_EN";
|
||||
@@ -314,6 +315,9 @@ bool InstructorsAndTraineesWidget::authorizationInstructorDialog(QWidget* parent
|
||||
QString login = dlg.getLogin();
|
||||
QString password = dlg.getPassword();
|
||||
|
||||
// Вычисление MD5 хэша
|
||||
password = HashTools::hashingMD5string(password);
|
||||
|
||||
connectorToServer->authorizationInstructorLocal(login, password);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user