summaryrefslogtreecommitdiff
path: root/src/user.hpp
blob: d76392ccb839ef43948830e237f106132a2e4752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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 );

	public:
		std::string last_captcha;
		std::string new_captcha;
	
	private:
		void login( );
		void logout( );	
		void ini( content::user &c );
};

}

#endif