projects
/
catagits/Catalyst-Plugin-Authentication.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Change default username_field back to 'username', as this fits in better with the...
[catagits/Catalyst-Plugin-Authentication.git]
/
t
/
lib
/
RemoteTestApp1.pm
diff --git
a/t/lib/RemoteTestApp1.pm
b/t/lib/RemoteTestApp1.pm
index
ff66626
..
dbba67c
100644
(file)
--- a/
t/lib/RemoteTestApp1.pm
+++ b/
t/lib/RemoteTestApp1.pm
@@
-28,7
+28,7
@@
__PACKAGE__->config(
sub default : Local {
my ( $self, $c ) = @_;
if ($c->authenticate()) {
- $c->res->body('User:' . $c->user->{id});
+ $c->res->body('User:' . $c->user->{username});
}
else {
$c->res->body('FAIL');