migrate omniauth_callbacks:* to static bundle

This commit is contained in:
Mike Greiling 2018-02-20 02:19:58 -06:00
parent 3b359ffe57
commit 2d01877631
No known key found for this signature in database
GPG key ID: 0303DF507FA67596
2 changed files with 1 additions and 8 deletions

View file

@ -277,11 +277,6 @@ var Dispatcher;
break;
}
switch (path[0]) {
case 'omniauth_callbacks':
import('./pages/omniauth_callbacks')
.then(callDefault)
.catch(fail);
break;
case 'admin':
import('./pages/admin')
.then(callDefault)

View file

@ -1,5 +1,3 @@
import initU2F from '../../shared/sessions/u2f';
export default () => {
initU2F();
};
document.addEventListener('DOMContentLoaded', initU2F);