Blame SOURCES/0185-Fixed-login-error-message-box-in-LoginScreen-page.patch
|
|
aa60fb |
From 303e3aea45c310e8a2508ac540264520d5d3eda4 Mon Sep 17 00:00:00 2001
|
|
|
aa60fb |
From: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
aa60fb |
Date: Mon, 28 Dec 2015 12:33:11 +0530
|
|
|
aa60fb |
Subject: [PATCH] Fixed login error message box in LoginScreen page
|
|
|
aa60fb |
|
|
|
aa60fb |
Fix added for showing error message returned from server to client
|
|
|
aa60fb |
browser. User is now notified with proper error messages returned by
|
|
|
aa60fb |
server.
|
|
|
aa60fb |
|
|
|
aa60fb |
https://bugzilla.redhat.com/show_bug.cgi?id=1293870
|
|
|
aa60fb |
|
|
|
aa60fb |
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
aa60fb |
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
|
|
|
aa60fb |
---
|
|
|
aa60fb |
install/ui/src/freeipa/widgets/LoginScreen.js | 8 ++++----
|
|
|
aa60fb |
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
aa60fb |
|
|
|
aa60fb |
diff --git a/install/ui/src/freeipa/widgets/LoginScreen.js b/install/ui/src/freeipa/widgets/LoginScreen.js
|
|
|
aa60fb |
index eb95b9161f05eeac1ec9aed286c9730dada85d59..2c778b50cfb10bfa8eef25c5456c6ce913e02695 100644
|
|
|
aa60fb |
--- a/install/ui/src/freeipa/widgets/LoginScreen.js
|
|
|
aa60fb |
+++ b/install/ui/src/freeipa/widgets/LoginScreen.js
|
|
|
aa60fb |
@@ -272,12 +272,12 @@ define(['dojo/_base/declare',
|
|
|
aa60fb |
}
|
|
|
aa60fb |
this.set('view', 'login');
|
|
|
aa60fb |
} else {
|
|
|
aa60fb |
+ otp_f.set_value('');
|
|
|
aa60fb |
+ new_f.set_value('');
|
|
|
aa60fb |
+ ver_f.set_value('');
|
|
|
aa60fb |
val_summary.add_error('login', result.message);
|
|
|
aa60fb |
}
|
|
|
aa60fb |
|
|
|
aa60fb |
- otp_f.set_value('');
|
|
|
aa60fb |
- new_f.set_value('');
|
|
|
aa60fb |
- ver_f.set_value('');
|
|
|
aa60fb |
},
|
|
|
aa60fb |
|
|
|
aa60fb |
refresh: function() {
|
|
|
aa60fb |
@@ -426,4 +426,4 @@ define(['dojo/_base/declare',
|
|
|
aa60fb |
];
|
|
|
aa60fb |
|
|
|
aa60fb |
return LoginScreen;
|
|
|
aa60fb |
-});
|
|
|
aa60fb |
\ No newline at end of file
|
|
|
aa60fb |
+});
|
|
|
aa60fb |
--
|
|
|
aa60fb |
2.5.0
|
|
|
aa60fb |
|