Skip to content

Commit

Permalink
Update views.py (#6186)
Browse files Browse the repository at this point in the history
  • Loading branch information
r350178982 authored Jun 11, 2024
1 parent 7bcb54e commit be624fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions seahub/auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,8 @@ def login(request, template_name='registration/login.html',
getattr(settings, 'ENABLE_KRB5_LOGIN', False) or \
getattr(settings, 'ENABLE_ADFS_LOGIN', False) or \
getattr(settings, 'ENABLE_OAUTH', False) or \
getattr(settings, 'ENABLE_DINGTALK', False) or \
getattr(settings, 'ENABLE_CAS', False) or \
getattr(settings, 'ENABLE_REMOTE_USER_AUTHENTICATION', False) or \
getattr(settings, 'ENABLE_WORK_WEIXIN', False)
getattr(settings, 'ENABLE_REMOTE_USER_AUTHENTICATION', False)

login_bg_image_path = get_login_bg_image_path()

Expand Down

0 comments on commit be624fb

Please sign in to comment.