Skip to content
Snippets Groups Projects
Commit 1922265a authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix database object retrieval

parent c9d1fe06
No related branches found
No related tags found
No related merge requests found
......@@ -105,9 +105,10 @@ sub check_token {
my ($self, %args) = @_;
my $secret = $args{token};
my $db = $self->stash('db');
my $token = AccountManager::Data::Token->new(
db => $self->{db},
db => $db,
secret => $secret
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment