This commit is contained in:
Martin Edenhofer 2016-08-31 14:24:36 +02:00
parent 2072ac7c9b
commit 894f3c4dd1

View file

@ -41,7 +41,7 @@ class Widget extends App.Controller
maintanaceMode: (data = {}) =>
return if data.on isnt true
@authenticateCheckRedirect()
return if !@authenticateCheck()
@navigate '#logout'
#App.Event.trigger('maintenance', {type:'restart_auto'})