#ifndef USER_HPP #define USER_HPP #include "master.hpp" #include "user_content.hpp" 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 ); public: std::string last_captcha; std::string new_captcha; private: void login( ); void logout( ); void register_user( ); void confirm_register( ); void ini( content::user &c ); }; } #endif