diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-30 20:18:44 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-30 20:18:44 +0200 |
commit | 14d83c88444cd621860eadf0686f633c8d066d67 (patch) | |
tree | c28b7561a4d7961698dfc183b3bc8ad921e1d1f2 /src/user.hpp | |
parent | 8b2bf0516a417e517189fa7ea9bd1f45c834a707 (diff) | |
download | aCms-14d83c88444cd621860eadf0686f633c8d066d67.tar.gz aCms-14d83c88444cd621860eadf0686f633c8d066d67.tar.bz2 |
basic registration works
Diffstat (limited to 'src/user.hpp')
-rw-r--r-- | src/user.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/user.hpp b/src/user.hpp index 633af60..e6a4e35 100644 --- a/src/user.hpp +++ b/src/user.hpp @@ -10,8 +10,11 @@ namespace apps { class user : public master { public: user( strusCms &cms ); - bool check_login( std::string user, std::string password ); - bool user_exists( std::string user ); + bool check_login( const std::string user, const std::string password ); + bool user_exists( const std::string user ); + void delete_user( const std::string user ); + std::string registration_start( const std::string user, const std::string password, const std::string email ); + bool verify_registration_code( const std::string code ); public: std::string last_captcha; |