Skip to content

Commit 964bbfa

Browse files
authored
Merge pull request #982 from metacpan/oalders/auth-typo
s/gitnub/github
2 parents 3dafe00 + d783da2 commit 964bbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MetaCPAN/API.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ sub _set_up_oauth_routes {
215215
$c->session( is_logged_in => 1 );
216216
$c->session( github_username => $username );
217217
if ( $self->_is_admin($username) ) {
218-
$c->session( gitnub_username => $username );
218+
$c->session( github_username => $username );
219219
$c->redirect_to('/admin');
220220
return;
221221
}

0 commit comments

Comments
 (0)