From 012614562f99d79cae8bdfa4a4f8a228494fabf4 Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 29 Jan 2018 16:57:50 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/users/views/login.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/users/views/login.py b/apps/users/views/login.py index 44abd0a81..10ad697ba 100644 --- a/apps/users/views/login.py +++ b/apps/users/views/login.py @@ -29,10 +29,12 @@ from ..tasks import write_login_log_async from .. import forms -__all__ = ['UserLoginView', 'UserLogoutView', - 'UserForgotPasswordView', 'UserForgotPasswordSendmailSuccessView', - 'UserResetPasswordView', 'UserResetPasswordSuccessView', - 'UserFirstLoginView', 'LoginLogListView'] +__all__ = [ + 'UserLoginView', 'UserLogoutView', + 'UserForgotPasswordView', 'UserForgotPasswordSendmailSuccessView', + 'UserResetPasswordView', 'UserResetPasswordSuccessView', + 'UserFirstLoginView', 'LoginLogListView' +] @method_decorator(sensitive_post_parameters(), name='dispatch')