diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-02-23 11:42:29 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-02-23 13:44:05 +0100 |
commit | 3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4 (patch) | |
tree | 99988bb1803817b1e60899a3bf78072bf4b067a0 /src/RegisterPage.h | |
parent | Merge pull request #128 from adasauce/no-setstylesheet (diff) | |
download | nheko-3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4.tar.xz |
Fix Registration
fixes #97 fixes #51
Diffstat (limited to 'src/RegisterPage.h')
-rw-r--r-- | src/RegisterPage.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/RegisterPage.h b/src/RegisterPage.h index 96a5b3ca..ebc24bb1 100644 --- a/src/RegisterPage.h +++ b/src/RegisterPage.h @@ -21,6 +21,8 @@ #include <QLayout> #include <memory> +#include <mtx/user_interactive.hpp> + class FlatButton; class RaisedButton; class TextField; @@ -43,7 +45,10 @@ signals: void registerErrorCb(const QString &msg); void registrationFlow(const std::string &user, const std::string &pass, - const std::string &session); + const mtx::user_interactive::Unauthorized &unauthorized); + void registerAuth(const std::string &user, + const std::string &pass, + const mtx::user_interactive::Auth &auth); private slots: void onBackButtonClicked(); |