Skip to content
Snippets Groups Projects
Commit 0da58c47 authored by Callum Brown's avatar Callum Brown
Browse files

Run linter

parent 4fa644f2
No related branches found
No related tags found
No related merge requests found
Pipeline #1605 passed
...@@ -492,12 +492,13 @@ RegisterPage::doUIA(const mtx::user_interactive::Unauthorized &unauthorized) ...@@ -492,12 +492,13 @@ RegisterPage::doUIA(const mtx::user_interactive::Unauthorized &unauthorized)
QString(), QString(),
&ok); &ok);
if (ok) { if (ok) {
emit registrationWithAuth(mtx::user_interactive::Auth{ emit registrationWithAuth(mtx::user_interactive::Auth{
session, mtx::user_interactive::auth::RegistrationToken{token.toStdString()}}); session,
} else { mtx::user_interactive::auth::RegistrationToken{token.toStdString()}});
emit errorOccurred(); } else {
} emit errorOccurred();
}
} else { } else {
// use fallback // use fallback
auto dialog = new dialogs::FallbackAuth( auto dialog = new dialogs::FallbackAuth(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment