|
@@ -170,11 +170,12 @@ login.login_handlers = (function() { |
|
|
window.location.href = data.home_page; |
|
|
window.location.href = data.home_page; |
|
|
} |
|
|
} |
|
|
} else if(window.location.hash === '#forgot') { |
|
|
} else if(window.location.hash === '#forgot') { |
|
|
console.log(data.message); |
|
|
|
|
|
if(data.message==='not found') { |
|
|
if(data.message==='not found') { |
|
|
login.set_indicator(__("Not a valid user"), 'red'); |
|
|
login.set_indicator(__("Not a valid user"), 'red'); |
|
|
} else if (data.message=='not allowed') { |
|
|
} else if (data.message=='not allowed') { |
|
|
login.set_indicator(__("Not Allowed"), 'red'); |
|
|
login.set_indicator(__("Not Allowed"), 'red'); |
|
|
|
|
|
} else { |
|
|
|
|
|
login.set_indicator(__("Instructions Emailed"), 'green'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|