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 275267e98c..d02161b550 100644
--- a/src/Umbraco.Web.UI/Umbraco/config/lang/nb.xml
+++ b/src/Umbraco.Web.UI/Umbraco/config/lang/nb.xml
@@ -502,6 +502,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 f5820e43c5..2cce55d8a4 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/da.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/da.xml
@@ -551,7 +551,6 @@
Forny for at gemme dine ændringer
-
Så er det søndag!
Smil, det er mandag!
Hurra, det er tirsdag!
@@ -559,12 +558,9 @@
Glædelig torsdag!
Endelig fredag!
Glædelig lørdag
-
-
indtast brugernavn og kodeord
+ Log ind med
Din session er udløbet
-
-
© 2001 - %0%
umbraco.com ]]>
diff --git a/src/Umbraco.Web.UI/umbraco/config/lang/de.xml b/src/Umbraco.Web.UI/umbraco/config/lang/de.xml
index 3b4c1ee5ab..8041fd1a29 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/de.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/de.xml
@@ -537,6 +537,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 8012081a1c..423bc61afa 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/en.xml
@@ -672,6 +672,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 8416efa423..4ebc399905 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
@@ -670,6 +670,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 ea1f0c9ef0..6e25f06853 100644
--- a/src/Umbraco.Web.UI/umbraco/config/lang/sv.xml
+++ b/src/Umbraco.Web.UI/umbraco/config/lang/sv.xml
@@ -492,6 +492,7 @@
Happy friendly Friday
Happy shiny Saturday
Logga in nedan
+ Logga in med
Sessionen har nått sin maxgräns