mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
After account delete, bounce to login after 1-second delay
This commit is contained in:
parent
d15659ed85
commit
853dad95f3
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@ define [
|
||||||
$scope.state.inflight = false
|
$scope.state.inflight = false
|
||||||
$scope.state.error = false
|
$scope.state.error = false
|
||||||
$scope.state.invalidCredentials = false
|
$scope.state.invalidCredentials = false
|
||||||
window.location = "/"
|
setTimeout(
|
||||||
|
() ->
|
||||||
|
window.location = "/login"
|
||||||
|
, 1000
|
||||||
|
)
|
||||||
.error (data, status) ->
|
.error (data, status) ->
|
||||||
$scope.state.inflight = false
|
$scope.state.inflight = false
|
||||||
if status == 403
|
if status == 403
|
||||||
|
|
Loading…
Reference in a new issue