Commit 0d7242f1 authored by Anthony Geourjon's avatar Anthony Geourjon
Browse files

Fix reset password bug

parent 24f102a0
<section id="login" style="padding-top: 25px; min-height: 650px;background-color: #1E1A35">
<p class="edstore" style="padding: 50px;padding-bottom: 10px;"><img src="assets/images/logo-white.png" width="250"alt=""></p>
<p class="edstore" style="padding: 50px;padding-bottom: 10px;"><img src="assets/images/WAZA_logo_blanc.png" width="250"alt=""></p>
<div class="form-fields" style="width: 500px;">
<h4 class="innerB text-center" style=" border-bottom: solid 1px; border-top: solid 1px; padding: 5px;margin-bottom: 15px;">{{::_labels.resetTitle}}</h4>
......
......@@ -40,7 +40,9 @@ root.controller('UsersResetCtrl', ['$scope', '$http','$location','$stateParams',
}
// verify password
if(!passwdFirst || passwdFirst !== passwdSecond || $scope.responseCaptcha == "-") {
//TODO reset Captcha
//if(!passwdFirst || passwdFirst !== passwdSecond || $scope.responseCaptcha == "-") {
if(!passwdFirst || passwdFirst !== passwdSecond) {
$scope.errorMsg = $languageFactory._labels.alerts_requiredFieldsInvalid;
$scope._showAlert({status:3,message:$languageFactory._labels.alerts_requiredFieldsInvalid});
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment