summary refs log tree commit diff
path: root/src/RegisterPage.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 11:42:29 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 13:44:05 +0100
commit3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4 (patch)
tree99988bb1803817b1e60899a3bf78072bf4b067a0 /src/RegisterPage.h
parentMerge pull request #128 from adasauce/no-setstylesheet (diff)
downloadnheko-3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4.tar.xz
Fix Registration
fixes #97
fixes #51
Diffstat (limited to 'src/RegisterPage.h')
-rw-r--r--src/RegisterPage.h7
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();