From abec8a2c6317b208b659c1580893acb2aa0d6e33 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Mon, 6 Jul 2020 13:44:12 +0200
Subject: [PATCH] Add a clear message why you could end up there

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 core/templates/loginflow/authpicker.php   | 4 ++++
 core/templates/loginflowv2/authpicker.php | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php
index 3b12fbe2f07..edcc5565d16 100644
--- a/core/templates/loginflow/authpicker.php
+++ b/core/templates/loginflow/authpicker.php
@@ -36,6 +36,10 @@ $urlGenerator = $_['urlGenerator'];
 		])) ?>
 	</p>
 
+	<p class="info">
+		<?php print_unescaped($l->t('If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?>
+	</p>
+
 	<br/>
 
 	<p id="redirect-link">
diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php
index ccc9162bbc3..a32787f22b8 100644
--- a/core/templates/loginflowv2/authpicker.php
+++ b/core/templates/loginflowv2/authpicker.php
@@ -35,6 +35,10 @@ $urlGenerator = $_['urlGenerator'];
 		])) ?>
 	</p>
 
+	<p class="info">
+		<?php print_unescaped($l->t('If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?>
+	</p>
+
 	<br/>
 
 	<p id="redirect-link">
-- 
GitLab