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
a7103ff8
Commit
a7103ff8
authored
Aug 02, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch to PascalCase, remove unnecessary assignment
parent
3eff9ffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
common/djangoapps/student/views.py
+4
-4
No files found.
common/djangoapps/student/views.py
View file @
a7103ff8
...
...
@@ -280,14 +280,14 @@ def create_account(request, post_override=None):
# if doing signup for an external authorization, then get email, password, name from the eamap
# don't use the ones from the form, since the user could have hacked those
d
oExternalAuth
=
'ExternalAuthMap'
in
request
.
session
if
d
oExternalAuth
:
D
oExternalAuth
=
'ExternalAuthMap'
in
request
.
session
if
D
oExternalAuth
:
eamap
=
request
.
session
[
'ExternalAuthMap'
]
email
=
eamap
.
external_email
name
=
eamap
.
external_name
password
=
eamap
.
internal_password
post_vars
=
dict
(
post_vars
.
items
())
post_vars
.
update
(
dict
(
email
=
email
,
name
=
name
,
password
=
password
,
username
=
post_vars
[
'username'
]
))
post_vars
.
update
(
dict
(
email
=
email
,
name
=
name
,
password
=
password
))
log
.
debug
(
'extauth test: post_vars =
%
s'
%
post_vars
)
# Confirm we have a properly formed request
...
...
@@ -411,7 +411,7 @@ def create_account(request, post_override=None):
try_change_enrollment
(
request
)
if
d
oExternalAuth
:
if
D
oExternalAuth
:
eamap
.
user
=
login_user
eamap
.
dtsignup
=
datetime
.
datetime
.
now
()
eamap
.
save
()
...
...
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