Commit 928a8a02 authored by movilla's avatar movilla

Fix "if display_password_reset_link?" when diaspora.yml => enable_registrations: false

parent e6ec4193
# 0.0.2.0pre
Fix error with open/close registrations.
Fix javascripts error in invitations facebox.
Fix css overflow problem in aspect dropdown on welcome page.
# 0.0.1.1
Fix syntax error in French Javascript pluralization rule.
......
......@@ -9,7 +9,7 @@ module SessionsHelper
end
def display_registration_link?
!AppConfig.settings.enable_registrations? && devise_mapping.registerable? && controller_name != 'registrations'
AppConfig.settings.enable_registrations? && devise_mapping.registerable? && controller_name != 'registrations'
end
def display_password_reset_link?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment