From 0da58c476c05c3ec52fe69609b741d06938c9521 Mon Sep 17 00:00:00 2001
From: Callum Brown <callum@calcuode.com>
Date: Sun, 15 Aug 2021 15:51:10 +0100
Subject: [PATCH] Run linter

---
 src/RegisterPage.cpp | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/RegisterPage.cpp b/src/RegisterPage.cpp
index ddd4d47d0..fb6a1b971 100644
--- a/src/RegisterPage.cpp
+++ b/src/RegisterPage.cpp
@@ -492,12 +492,13 @@ RegisterPage::doUIA(const mtx::user_interactive::Unauthorized &unauthorized)
                                         QString(),
                                         &ok);
 
-		if (ok) {
-			emit registrationWithAuth(mtx::user_interactive::Auth{
-			  session, mtx::user_interactive::auth::RegistrationToken{token.toStdString()}});
-		} else {
-			emit errorOccurred();
-		}
+                if (ok) {
+                        emit registrationWithAuth(mtx::user_interactive::Auth{
+                          session,
+                          mtx::user_interactive::auth::RegistrationToken{token.toStdString()}});
+                } else {
+                        emit errorOccurred();
+                }
         } else {
                 // use fallback
                 auto dialog = new dialogs::FallbackAuth(
-- 
GitLab