diff options
author | Palaparthy Adityachandra | 2020-03-20 11:12:52 +0530 |
---|---|---|
committer | GitHub | 2020-03-20 11:12:52 +0530 |
commit | e8573822d3ed25306d5d2faf946633f2c17997b0 (patch) | |
tree | c75b5d2730a74191f2c7e51a881e9404f5627c1d /yaksh/decorators.py | |
parent | 1dbaec7dd8098701e11713faa0c9040a315e5fac (diff) | |
parent | 36f43151ab26744cf9edc05d0df3f0fb901fcaaa (diff) | |
download | online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.tar.gz online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.tar.bz2 online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.zip |
Merge pull request #655 from adityacp/bump_django
Bump django version to 3.0.3
Diffstat (limited to 'yaksh/decorators.py')
-rw-r--r-- | yaksh/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/decorators.py b/yaksh/decorators.py index 81912f0..d584868 100644 --- a/yaksh/decorators.py +++ b/yaksh/decorators.py @@ -40,7 +40,7 @@ def email_verified(func): user = request.user context = {} if not settings.IS_DEVELOPMENT: - if user.is_authenticated() and user_has_profile(user): + if user.is_authenticated and user_has_profile(user): if not user.profile.is_email_verified: context['success'] = False context['msg'] = "Your account is not verified. \ |