Commit 928a8a02 authored by movilla's avatar movilla

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

parent e6ec4193
Fix error with open/close registrations.
Fix javascripts error in invitations facebox.
Fix css overflow problem in aspect dropdown on welcome page.
Fix syntax error in French Javascript pluralization rule.
......@@ -9,7 +9,7 @@ module SessionsHelper
def display_registration_link?
!AppConfig.settings.enable_registrations? && devise_mapping.registerable? && controller_name != 'registrations'
AppConfig.settings.enable_registrations? && devise_mapping.registerable? && controller_name != 'registrations'
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