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
c01e8321
Commit
c01e8321
authored
May 20, 2014
by
Jason Bau
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3801 from edx/jbau/edx-west/fix-thirdparty-tests
Jbau/edx west/fix thirdparty tests
parents
eb7f9e67
3ba7af1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
common/djangoapps/student/views.py
+0
-2
No files found.
common/djangoapps/student/views.py
View file @
c01e8321
...
...
@@ -936,7 +936,6 @@ def login_user(request, error=""): # pylint: disable-msg=too-many-statements,un
try
:
# We do not log here, because we have a handler registered
# to perform logging on successful logins.
logout
(
request
)
login
(
request
,
user
)
if
request
.
POST
.
get
(
'remember'
)
==
'true'
:
request
.
session
.
set_expiry
(
604800
)
...
...
@@ -1372,7 +1371,6 @@ def create_account(request, post_override=None): # pylint: disable-msg=too-many
# logged in until they close the browser. They can't log in again until they click
# the activation link from the email.
login_user
=
authenticate
(
username
=
post_vars
[
'username'
],
password
=
post_vars
[
'password'
])
logout
(
request
)
login
(
request
,
login_user
)
request
.
session
.
set_expiry
(
0
)
...
...
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