Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
75b355c3
Commit
75b355c3
authored
Jun 21, 2013
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused reactivation email function
parent
a36aee5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
common/djangoapps/student/views.py
+0
-13
lms/urls.py
+0
-2
No files found.
common/djangoapps/student/views.py
View file @
75b355c3
...
...
@@ -985,19 +985,6 @@ def password_reset(request):
'error'
:
'Invalid e-mail'
}))
@ensure_csrf_cookie
def
reactivation_email
(
request
):
''' Send an e-mail to reactivate a deactivated account, or to
resend an activation e-mail. Untested. '''
email
=
request
.
POST
[
'email'
]
try
:
user
=
User
.
objects
.
get
(
email
=
'email'
)
except
User
.
DoesNotExist
:
return
HttpResponse
(
json
.
dumps
({
'success'
:
False
,
'error'
:
'No inactive user with this e-mail exists'
}))
return
reactivation_email_for_user
(
user
)
def
reactivation_email_for_user
(
user
):
reg
=
Registration
.
objects
.
get
(
user
=
user
)
...
...
lms/urls.py
View file @
75b355c3
...
...
@@ -116,8 +116,6 @@ if not settings.MITX_FEATURES["USE_CUSTOM_THEME"]:
url
(
r'^submit_feedback$'
,
'util.views.submit_feedback'
),
# TODO: These urls no longer work. They need to be updated before they are re-enabled
# url(r'^reactivate/(?P<key>[^/]*)$', 'student.views.reactivation_email'),
)
# Only enable URLs for those marketing links actually enabled in the
...
...
Write
Preview
Markdown
is supported
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