Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
#112 - removed temporary 'auth' middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
natoverse committed Mar 17, 2015
1 parent a524737 commit dee6158
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions app/server/middleware/auth.js

This file was deleted.

2 changes: 1 addition & 1 deletion app/server/middleware/repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
debug('listing repos [' + req.path + ']');
debug('query:' + JSON.stringify(req.query, null, 2));

let username = req.auth.username;
let username = req.session.passport.user.username;

repoRepository.getRepos().then(repos => {
return permissionRepository.filterReposByUserPermission(repos, username).then(filteredRepos => {
Expand Down

0 comments on commit dee6158

Please sign in to comment.