Skip to content

Commit

Permalink
[WebUI IntelliHome#7] Modified login script to redirect to a given URL
Browse files Browse the repository at this point in the history
  • Loading branch information
skullbocks committed Jul 27, 2014
1 parent ef20f81 commit a2eb378
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/public/js/login_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ $(function(){
"background-image": "url('http://api.randomuser.me/0.3.2/portraits/women/35.jpg')"
});
*/
window.location.href = msg.redirectURL;
});
loginRequest.fail(function() {
//remove success mesage replaced with error message
Expand Down

0 comments on commit a2eb378

Please sign in to comment.