diff --git a/app/assets/javascripts/app/controllers/reset_password.js.coffee b/app/assets/javascripts/app/controllers/reset_password.js.coffee
index 3e1710e2b..c2fb191b9 100644
--- a/app/assets/javascripts/app/controllers/reset_password.js.coffee
+++ b/app/assets/javascripts/app/controllers/reset_password.js.coffee
@@ -11,6 +11,11 @@ class Index extends App.Controller
constructor: ->
super
+ # go back if feature is not enabled
+ if !@Config.get('user_lost_password')
+ @navigate '#'
+ return
+
# set title
@title 'Reset Password'
@navupdate '#reset_password'
diff --git a/app/assets/javascripts/app/controllers/signup.js.coffee b/app/assets/javascripts/app/controllers/signup.js.coffee
index 314440c56..56ce68d15 100644
--- a/app/assets/javascripts/app/controllers/signup.js.coffee
+++ b/app/assets/javascripts/app/controllers/signup.js.coffee
@@ -11,6 +11,11 @@ class Index extends App.Controller
constructor: ->
super
+ # go back if feature is not enabled
+ if !@Config.get('user_create_account')
+ @navigate '#'
+ return
+
# set title
@title 'Sign up'
@navupdate '#signup'
diff --git a/app/assets/javascripts/app/views/login.jst.eco b/app/assets/javascripts/app/views/login.jst.eco
index b22332575..a3801a8a5 100644
--- a/app/assets/javascripts/app/views/login.jst.eco
+++ b/app/assets/javascripts/app/views/login.jst.eco
@@ -13,8 +13,10 @@