Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

controler里的app.jwt是什么?没看到egg-jwt相关逻辑 #9

Open
zhangxp426 opened this issue Jan 6, 2020 · 3 comments
Open

Comments

@zhangxp426
Copy link

controler里的app.jwt是什么?没看到egg-jwt相关逻辑

@Songkeys
Copy link

请问 ctx.compare 是需要自己实现吗?这是哪个库继承来的方法呢?谢谢

@cuevven
Copy link

cuevven commented Mar 31, 2020

请问 ctx.compare 是需要自己实现吗?这是哪个库继承来的方法呢?谢谢

ctx.compare是egg-bcrypt插件的方法,用来比较加密后的字符串。

https://github.com/yolopunk/egg-bcrypt
https://github.com/dcodeIO/bcrypt.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants