Merge pull request #3649 from movilla/display_registration
Fix "if display_password_reset_link?" when diaspora.yml => enable_registrations: false
This commit is contained in:
commit
d979ac4499
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
# 0.0.2.0pre
|
# 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
|
# 0.0.1.1
|
||||||
|
|
||||||
Fix syntax error in French Javascript pluralization rule.
|
Fix syntax error in French Javascript pluralization rule.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ module SessionsHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def display_registration_link?
|
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
|
end
|
||||||
|
|
||||||
def display_password_reset_link?
|
def display_password_reset_link?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue