Fix "if display_password_reset_link?" when diaspora.yml => enable_registrations: false
This commit is contained in:
parent
e6ec41930b
commit
928a8a02d8
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# 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?
|
||||
|
|
|
|||
Loading…
Reference in a new issue