Problem/Motivation
The cas-links part of the login form is the text that in this screenshot reads "Log in using a site account instead":

It lets the user switch between the Drupal login form and the CAS login button. Placed as it is above the "Log in" button, it causes unnecessary confusion for my users and support calls.
Proposed resolution
Move the cas-links below the login button. I do this in a form alter implementation like this:
if (isset($form['cas_links'])) {
$form['cas_links']['#weight'] = 101;
}
Remaining tasks
User interface changes
The login form will be changed as described in "Proposed resolution" above.
API changes
None.
Data model changes
None.
Comments
Comment #2
mhagedon commentedI'm confused... where is cas_links? I don't see it in the 8.x branch.
Comment #3
cilefen commented@mhagedon Now that's a good question. That's what it looks like in 7. I haven't even tried the D8 version yet, but I blindly assumed the UI is the same.
Comment #4
cilefen commentedIt seems this isn't a "thing" in the D8 version because it works differently.
Comment #5
bkosborneThis is not yet implemented in D8. The only way to login via CAS in the D8 branch is to go to /caslogin (which we will fix to being /cas like the 7.x branch as well).
Comment #6
chishah92 commentedComment #7
chishah92 commentedHere is the patch for 7.x version of CAS for drupal 7 regarding change in the position of CAS links.
Thanks
~Chirag
Comment #9
bkosborneYes this is much better. Thanks.