Browse files

MDL-32492 auth/cas: respect https login links

  • Loading branch information...
1 parent bd680d8 commit f084d74ed153e8372c014d50ede55c3fe8310cfd 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 f084d74

Please sign in to comment.