Remove unused token TYPE_APP

This commit is contained in:
Johannes Zellner
2016-06-02 14:07:19 +02:00
parent d5d5e356ae
commit c2f7d61e34
2 changed files with 0 additions and 4 deletions

View File

@@ -106,9 +106,6 @@ function initialize(callback) {
if (token.identifier.indexOf(tokendb.PREFIX_DEV) === 0) {
token.identifier = token.identifier.slice(tokendb.PREFIX_DEV.length);
tokenType = tokendb.TYPE_DEV;
} else if (token.identifier.indexOf(tokendb.PREFIX_APP) === 0) {
tokenType = tokendb.TYPE_APP;
return callback(null, { id: token.identifier.slice(tokendb.PREFIX_APP.length), tokenType: tokenType }, info);
} else if (token.identifier.indexOf(tokendb.PREFIX_USER) === 0) {
tokenType = tokendb.TYPE_USER;
token.identifier = token.identifier.slice(tokendb.PREFIX_USER.length);