Fork de wikipp, le moteur de wiki en c++, basé sur cppcms. Le fork ajoute la langue française
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

users.h 425B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef USERS_H
  2. #define USERS_H
  3. #include "master.h"
  4. namespace apps {
  5. class users : public master {
  6. bool auth_done;
  7. bool auth_ok;
  8. bool disable_reg;
  9. void login();
  10. void do_auth();
  11. void new_user();
  12. public:
  13. void reset();
  14. bool user_exists(std::string);
  15. bool check_login(std::string,std::string);
  16. bool auth();
  17. void error_forbidden();
  18. std::string username;
  19. std::string login_url();
  20. users(wiki &);
  21. };
  22. }
  23. #endif