Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-32492 auth/cas: respect https login links

  • Loading branch information...
commit f084d74ed153e8372c014d50ede55c3fe8310cfd 1 parent bd680d8
mr-cfollin mr-cfollin authored danpoltawski committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 auth/cas/cas_form.html
4 auth/cas/cas_form.html
View
@@ -1,11 +1,11 @@
<div class="loginbox clearfix">
<div class="loginpanel">
<div>
-<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>
</div>
<br/>
<div>
-<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>
</div>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.