Menu

[r1200]: / wikipp / branches / for_cppcms_v100 / users.h  Maximize  Restore  History

Download this file

33 lines (23 with data), 425 Bytes

 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
28
29
30
#ifndef USERS_H
#define USERS_H
#include "master.h"
namespace apps {
class users : public master {
bool auth_done;
bool auth_ok;
bool disable_reg;
void login();
void do_auth();
void new_user();
public:
void reset();
bool user_exists(std::string);
bool check_login(std::string,std::string);
bool auth();
void error_forbidden();
std::string username;
std::string login_url();
users(wiki &);
};
}
#endif
MongoDB Logo MongoDB