From 3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 23 Feb 2020 11:42:29 +0100 Subject: Fix Registration fixes #97 fixes #51 --- src/RegisterPage.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/RegisterPage.h') 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 #include +#include + 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(); -- cgit 1.4.1