Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fibre
portal-interface
Commits
f6258ab5
Commit
f6258ab5
authored
Jun 05, 2020
by
João Paulo Esper
Browse files
Remoção do erro de identação na linha 157 do portal/views/views_members.py
parent
6fd07b3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
portal/views/views_members.py
View file @
f6258ab5
...
@@ -154,7 +154,7 @@ def account_activation(request, token):
...
@@ -154,7 +154,7 @@ def account_activation(request, token):
user_email
=
user_token
.
email
user_email
=
user_token
.
email
# Check if token is expired.
# Check if token is expired.
if
(
timezone
.
now
()
<
request_date
+
if
(
timezone
.
now
()
<
request_date
+
timedelta
(
days
=
const
.
TOKEN_EXPIRATION_TIME_DAYS
,
timedelta
(
days
=
const
.
TOKEN_EXPIRATION_TIME_DAYS
,
seconds
=
const
.
TOKEN_EXPIRATION_TIME_SECONDS
)):
seconds
=
const
.
TOKEN_EXPIRATION_TIME_SECONDS
)):
# Lookup member in CH by email.
# Lookup member in CH by email.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment