diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-05-28 00:09:08 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-06-13 15:34:52 +0200 |
commit | a7fbd91e53be5f4fd68f035c999eaa3f187b9d3d (patch) | |
tree | 772844629bbb69dd74549b184828bc9a6c75139e /core/js/lostpassword.js | |
parent | 23ed038a27901b947b75413b966d4beab21cd2bc (diff) | |
download | nextcloud-server-a7fbd91e53be5f4fd68f035c999eaa3f187b9d3d.tar.gz nextcloud-server-a7fbd91e53be5f4fd68f035c999eaa3f187b9d3d.zip |
Use appframework
Diffstat (limited to 'core/js/lostpassword.js')
-rw-r--r-- | core/js/lostpassword.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/lostpassword.js b/core/js/lostpassword.js index 00dfe71be67..0c50f858ec5 100644 --- a/core/js/lostpassword.js +++ b/core/js/lostpassword.js @@ -46,8 +46,6 @@ OC.Lostpassword = { } else { if (result && result.msg){ var sendErrorMsg = result.msg; - } else if (result && result.encryption) { - var sendErrorMsg = OC.Lostpassword.encryptedMsg; } else { var sendErrorMsg = OC.Lostpassword.sendErrorMsg; } @@ -103,6 +101,8 @@ OC.Lostpassword = { } else { if (result && result.msg){ var resetErrorMsg = result.msg; + } else if (result && result.encryption) { + var sendErrorMsg = OC.Lostpassword.encryptedMsg; } else { var resetErrorMsg = OC.Lostpassword.resetErrorMsg; } |