Create a fake user if not existing

This commit is contained in:
emeric
2018-03-04 16:09:03 +01:00
parent bbb988266d
commit a3fd11c85b
4 changed files with 14 additions and 1 deletions
+3
View File
@@ -64,6 +64,9 @@ class User
typedef Wt::Dbo::ptr<User> pointer;
// utility
static pointer create(Wt::Dbo::Session& session);
// accessors
static pointer getById(Wt::Dbo::Session& session, id_type id);
static std::vector<pointer> getAll(Wt::Dbo::Session& session);