Browse files

MDL-32492 auth/cas: respect https login links

  • Loading branch information...
1 parent f89e86f commit c62327447810a60ebab6dd94d3fa08368b46dba0 Chris Follin committed with danpoltawski Apr 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 auth/cas/cas_form.html
4 auth/cas/cas_form.html
@@ -1,11 +1,11 @@
<div class="loginbox clearfix">
<div class="loginpanel">
-<a href="<?php echo $CFG->wwwroot.'/login/index.php?authCAS=CAS';?>"><?php print_string('accesCAS', 'auth_cas');?></a>
+<a href="<?php echo get_login_url() . '?authCAS=CAS';?>"><?php print_string('accesCAS', 'auth_cas');?></a>
-<a href="<?php echo $CFG->wwwroot.'/login/index.php?authCAS=NOCAS';?>"><?php print_string('accesNOCAS', 'auth_cas');?></a>
+<a href="<?php echo get_login_url() . '?authCAS=NOCAS';?>"><?php print_string('accesNOCAS', 'auth_cas');?></a>

0 comments on commit c623274

Please sign in to comment.