Skip to content

Commit

Permalink
Check the correct setting to hide login button
Browse files Browse the repository at this point in the history
  • Loading branch information
kluo committed Nov 30, 2018
1 parent 5cb45b4 commit a7f4391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/templates/navigation/navbar-not-authenticated.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<ol class="right nav-courseware list-inline">
<%block name="navigation_sign_in">
<li class="item nav-courseware-01">
% if not settings.DISABLE_REGISTER_BUTTON and not combined_login_and_register:
% if not settings.FEATURES['DISABLE_LOGIN_BUTTON'] and not combined_login_and_register:
% if course and settings.FEATURES.get('RESTRICT_ENROLL_BY_REG_METHOD') and course.enrollment_domain:
<a class="btn btn-login" href="${reverse('course-specific-login', args=[course.id.to_deprecated_string()])}${login_query()}">${_("Sign in")}</a>
% else:
Expand Down

0 comments on commit a7f4391

Please sign in to comment.