This commit is contained in:
2022-05-07 17:42:26 +02:00
parent d7f2348f0d
commit 23930b44a2
8 changed files with 51 additions and 22 deletions

View File

@@ -66,7 +66,7 @@ public partial class RegisterWin : Form
Auth = new Auth
{
Username = _user.Username,
Secret = StringAssemble.CalcSha512(secretBox.Text)
Secret = StringAssemble.CalcSha512(StringAssemble.CalcSauce(_user.Id, _user.Username) + secretBox.Text)
};
if (await PerformRegister(_user, Auth))
{