pull/1501/head
Loren Burkholder 1 year ago
parent fedc178827
commit d2a37ec983
  1. 9
      src/ReCaptcha.cpp
  2. 2
      src/ui/UIA.cpp

@ -10,13 +10,14 @@
#include "MatrixClient.h" #include "MatrixClient.h"
ReCaptcha::ReCaptcha(const QString &session, const QString &context, QObject *parent) ReCaptcha::ReCaptcha(const QString &session, const QString &context, QObject *parent)
: QObject{parent}, : QObject{parent}
m_session{session}, , m_session{session}
m_context{context} , m_context{context}
{ {
} }
void ReCaptcha::openReCaptcha() void
ReCaptcha::openReCaptcha()
{ {
const auto url = QString("https://%1:%2/_matrix/client/r0/auth/m.login.recaptcha/" const auto url = QString("https://%1:%2/_matrix/client/r0/auth/m.login.recaptcha/"
"fallback/web?session=%3") "fallback/web?session=%3")

@ -13,8 +13,8 @@
#include "Logging.h" #include "Logging.h"
#include "MatrixClient.h" #include "MatrixClient.h"
#include "dialogs/FallbackAuth.h"
#include "ReCaptcha.h" #include "ReCaptcha.h"
#include "dialogs/FallbackAuth.h"
UIA * UIA *
UIA::instance() UIA::instance()

Loading…
Cancel
Save