Test 2.
This commit is contained in:
parent
2072ac7c9b
commit
894f3c4dd1
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Widget extends App.Controller
|
||||||
|
|
||||||
maintanaceMode: (data = {}) =>
|
maintanaceMode: (data = {}) =>
|
||||||
return if data.on isnt true
|
return if data.on isnt true
|
||||||
@authenticateCheckRedirect()
|
return if !@authenticateCheck()
|
||||||
@navigate '#logout'
|
@navigate '#logout'
|
||||||
|
|
||||||
#App.Event.trigger('maintenance', {type:'restart_auto'})
|
#App.Event.trigger('maintenance', {type:'restart_auto'})
|
||||||
|
|
Loading…
Reference in a new issue