Merge pull request #10949 from owncloud/allow_prefilling_login

allow prefilling login
remotes/origin/fix-10825
Jörn Friedrich Dreyer 10 years ago
commit 3d4f77c8f1
  1. 4
      lib/private/util.php

@ -760,8 +760,8 @@ class OC_Util {
foreach ($errors as $value) {
$parameters[$value] = true;
}
if (!empty($_POST['user'])) {
$parameters["username"] = $_POST['user'];
if (!empty($_REQUEST['user'])) {
$parameters["username"] = $_REQUEST['user'];
$parameters['user_autofocus'] = false;
} else {
$parameters["username"] = '';

Loading…
Cancel
Save