Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
a7103ff8
Commit
a7103ff8
authored
12 years ago
by
ichuang
Browse files
Options
Downloads
Patches
Plain Diff
switch to PascalCase, remove unnecessary assignment
parent
3eff9ffe
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/djangoapps/student/views.py
+4
-4
4 additions, 4 deletions
common/djangoapps/student/views.py
with
4 additions
and
4 deletions
common/djangoapps/student/views.py
+
4
−
4
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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment