added a validation class

This commit is contained in:
Taarly 2025-04-29 09:31:31 +02:00
parent 8fe00e3aca
commit 0e8203eadd
2 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,7 @@ public class AppController
public static void NewLoginSave(string username, string password, string email)
{
string hashedPassword = ShaHash.HashPassword(password);
var user = new Model.NewUser(username, hashedPassword, email);
var user = new NewUser(username, hashedPassword, email);
SQLite.SaveUser(user);
}
}

View File

@ -0,0 +1,6 @@
namespace Project.Model;
public class Validation
{
}