diff --git a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.controller.js
index c38c55fcfb..aa037b7431 100644
--- a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.controller.js
@@ -79,7 +79,7 @@
}
$scope.loginSubmit = function (login, password) {
-
+
//if the login and password are not empty we need to automatically
// validate them - this is because if there are validation errors on the server
// then the user has to change both username & password to resubmit which isn't ideal,
@@ -121,13 +121,18 @@
$scope.requestPasswordResetSubmit = function (email) {
- $scope.errorMsg = "";
+ if (email && email.length > 0) {
+ $scope.requestPasswordResetForm.email.$setValidity('auth', true);
+ }
+
$scope.showEmailResetConfirmation = false;
if ($scope.requestPasswordResetForm.$invalid) {
return;
}
+ $scope.errorMsg = "";
+
authResource.performRequestPasswordReset(email)
.then(function () {
//remove the email entered
diff --git a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html
index 12f25f42a5..5933848c36 100644
--- a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html
+++ b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html
@@ -25,7 +25,7 @@
id="{{login.authType}}" name="provider" value="{{login.authType}}"
title="Log in using your {{login.caption}} account">
- Sign in with {{login.caption}}
+ Sign in with {{login.caption}}
@@ -33,7 +33,7 @@
diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/nb.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/nb.xml
index 602f66ddf4..511e9ad9f8 100644
--- a/src/Umbraco.Web.UI/Umbraco/config/lang/nb.xml
+++ b/src/Umbraco.Web.UI/Umbraco/config/lang/nb.xml
@@ -530,6 +530,7 @@
Endelig fredag!
Gledelig lørdag
Logg på nedenfor
+ Logg på med
Din sesjon er utløpt
© 2001 - %0%
umbraco.com ]]>
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/da.xml b/src/Umbraco.Web.UI/umbraco/config/lang/da.xml
index 17d9bedcd1..6bdb5631d4 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/da.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/da.xml
@@ -617,6 +617,7 @@
Glædelig lørdag
Log ind nedenfor
indtast brugernavn og kodeord
+ Log ind med
Din session er udløbet
© 2001 - %0%
umbraco.com ]]>
Glemt adgangskode?
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/de.xml b/src/Umbraco.Web.UI/umbraco/config/lang/de.xml
index d7f2c320b9..ed7f1e07a2 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/de.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/de.xml
@@ -565,6 +565,7 @@ Wenn Sie sich für Runway entscheiden, können Sie optional Blöcke nutzen, die
Frohen freundlichen Freitag
Wunderbaren sonnigen Samstag
Hier anmelden:
+ Anmelden mit
Sitzung abgelaufen
<p style="text-align:right;">© 2001 - %0% <br /><a href="http://umbraco.com" style="text-decoration: none" target="_blank">umbraco.org</a></p>
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/en.xml b/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
index 2f9871add8..e07feb0549 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
@@ -701,6 +701,7 @@ To manage your website, simply open the Umbraco back office and start adding con
Happy funky Friday
Happy Caturday
Log in below
+ Sign in with
Session timed out
© 2001 - %0%
Umbraco.com ]]>
Forgotten password?
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml b/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
index e0022eb2c0..ced38833f9 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
@@ -699,6 +699,7 @@ To manage your website, simply open the Umbraco back office and start adding con
Happy funky Friday
Happy Caturday
Log in below
+ Sign in with
Session timed out
© 2001 - %0%
Umbraco.com ]]>
Forgotten password?
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/sv.xml b/src/Umbraco.Web.UI/umbraco/config/lang/sv.xml
index 10e882f260..259b914a72 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/sv.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/sv.xml
@@ -520,6 +520,7 @@
Happy friendly Friday
Happy shiny Saturday
Logga in nedan
+ Logga in med
Sessionen har nått sin maxgräns