Yunfly
Yunfly
目前ctx.isAuthenticated()在路由中默认为true,只能清除cookie或者触发this.logout() 才能清除登陆状态让isAuthenticated返回false,关闭浏览器也不行 怎么能像koa这种设置路由session呢,想把项目从koa迁到egg,就是一直卡在登陆这块。。。。。。。。 附地址:https://github.com/Yunfly/egg-passport-oauth2
加上passport-oauth2后会一直重复认证.. **代码:** ``` // app/config/plugin.js exports.passport = { enable: true, package: 'egg-passport', }; ``` ``` // app.js const OAuth2Strategy = require('passport-oauth2').Strategy; module.exports = app => { app.passport.use('oauth2',new OAuth2Strategy({ authorizationURL: app.config.passportYun9.authorizationURL,...
when tags don't set in config.yaml, it throws an error TypeError: Cannot read property 'forEach' of null. because the node.tags are null
 我尝试把umi-block拉下来,在新clone的antd-pro中引入,就一直卡在Generate files 这里