summaryrefslogtreecommitdiffstats
path: root/install/ui/ipa.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/ipa.js')
-rw-r--r--install/ui/ipa.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/ui/ipa.js b/install/ui/ipa.js
index bd25aeae..45195bc4 100644
--- a/install/ui/ipa.js
+++ b/install/ui/ipa.js
@@ -1670,9 +1670,11 @@ IPA.unauthorized_dialog = function(spec) {
that.krb_auth_msg = spec.krb_auth_msg || IPA.get_message('login.krb_auth_msg',
" To login with Kerberos, please make sure you" +
" have valid tickets (obtainable via kinit) and " +
- "<a href='/ipa/config/unauthorized.html'>configured</a>" +
+ "<a href='http://${host}/ipa/config/unauthorized.html'>configured</a>" +
" the browser correctly, then click Login. ");
+ that.krb_auth_msg = that.krb_auth_msg.replace('${host}', window.location.hostname);
+
that.form_auth_failed = "<p><strong>Please re-enter your username or password</strong></p>" +
"<p>The password or username you entered is incorrect. " +
"Please try again (make sure your caps lock is off).</p>" +