Change default username_field back to 'username', as this fits in better with the...
[catagits/Catalyst-Plugin-Authentication.git] / lib / Catalyst / Authentication / Credential / Remote.pm
index 4bf8960..55b485f 100644 (file)
@@ -35,7 +35,7 @@ sub new {
     }
     $self->source($config->{source} || 'REMOTE_USER');
     $self->realm($realm);
-    $self->username_field($config->{username_field} || 'id');
+    $self->username_field($config->{username_field} || 'username');
     return $self;
 }