Auth subsystem update

This commit is contained in:
Andrew nuark G 2020-12-16 00:24:51 +07:00
parent 3e9f424c92
commit 2293c377eb
2 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ private:
public:
auth_system() = default;
const user_entity& get_user(const QString &login, bool &success);
const user_entity* get_user(const QString &login, bool &success);
bool remove_user(const QString &login);
bool register_user(const QString &login, const QString &password, UserRole role);