Skip to content

Commit

Permalink
- Add canvas url to registry settings/credential process
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyrumple committed Dec 24, 2018
1 parent c9a8c02 commit 4326afd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web2py/applications/smc/controllers/lms.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def credential_student():
hash = ""
user_name = None
full_name = ""
canvas_url = AppSettings.GetValue('canvas_server_url', 'https://canvas.ed')
# Get the user in question
if len(request.args) > 0:
user_name = request.args[0]
Expand All @@ -94,7 +95,7 @@ def credential_student():
else:
# User doesn't exit!
msg = "Invalid User!"
return dict(key=key, msg=msg, hash=hash, full_name=full_name)
return dict(key=key, msg=msg, hash=hash, full_name=full_name, canvas_url=canvas_url)


def get_firewall_list():
Expand Down

0 comments on commit 4326afd

Please sign in to comment.