resetPassword rework

This commit is contained in:
brindosch
2019-08-25 17:39:08 +02:00
parent 5f48a007be
commit 227f60496d
5 changed files with 26 additions and 14 deletions

View File

@@ -16,9 +16,14 @@ class AuthTable : public DBManager
public:
/// construct wrapper with auth table
AuthTable(QObject* parent = nullptr)
AuthTable(const QString& rootPath = "", QObject* parent = nullptr)
: DBManager(parent)
{
if(!rootPath.isEmpty()){
// Init Hyperion database usage
setRootPath(rootPath);
setDatabaseName("hyperion");
}
// init Auth table
setTable("auth");
// create table columns