After account delete, bounce to login after 1-second delay

This commit is contained in:
Shane Kilkelly 2016-11-28 12:01:32 +00:00
parent d15659ed85
commit 853dad95f3

View file

@ -64,7 +64,11 @@ define [
$scope.state.inflight = false
$scope.state.error = false
$scope.state.invalidCredentials = false
window.location = "/"
setTimeout(
() ->
window.location = "/login"
, 1000
)
.error (data, status) ->
$scope.state.inflight = false
if status == 403