From f5cba1711b9793ebe83d57293e36fc9227257ea0 Mon Sep 17 00:00:00 2001 From: Chris Ruppel Date: Mon, 13 Jul 2020 13:37:21 +0200 Subject: [PATCH] HID-2096: show message on login to native app users regarding decommissioning --- src/app/components/auth/AuthController.js | 6 ++++++ src/app/components/auth/login.html | 6 ++++++ src/po/template.pot | 19 ++++++++++--------- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/src/app/components/auth/AuthController.js b/src/app/components/auth/AuthController.js index 1f3728d0..bc929dfd 100644 --- a/src/app/components/auth/AuthController.js +++ b/src/app/components/auth/AuthController.js @@ -13,6 +13,12 @@ thisScope.saving = false; var twoFAModal; + if ($window.navigator.userAgent.indexOf('Cordova') !== -1) { + thisScope.nativeApp = true; + } else { + thisScope.nativeApp = false; + } + function onFirstLogin () { thisScope.currentUser.setAppMetaData({login: true}); thisScope.currentUser.authOnly = false; diff --git a/src/app/components/auth/login.html b/src/app/components/auth/login.html index 5be80ba0..9237f1f9 100644 --- a/src/app/components/auth/login.html +++ b/src/app/components/auth/login.html @@ -1,3 +1,9 @@ +
+
+

In January 2021, the Humanitarian ID website and app will be decommissioned. Your HID account will remain valid as part of the stand-alone HID Authentication service which can be used to login to any of the partner platforms. More information about this decommissioning is available in the FAQs section.

+
+
+