Translations:Manual:$wgSecureLogin/5/en

From 1.22 on, use $DefaultUserOptions to set  false by default if you want HTTP users to stay on HTTP after login by default.