Skip to content

Commit

Permalink
[authme-integration] fix login of SHA256
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Apr 20, 2019
1 parent 5b5f1aa commit 90dc338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion authme-integration/package.json
@@ -1,6 +1,6 @@
{
"name": "authme-integration",
"version": "2.0.0",
"version": "2.0.1",
"title": "Authme 数据对接",
"description": "与 Authme 进行数据对接,让玩家可以使用皮肤站的账号密码登录游戏。启用之前请仔细阅读使用说明 👉 http://t.cn/RDEUFQS",
"author": "printempw",
Expand Down
1 change: 1 addition & 0 deletions authme-integration/src/Listener/HashAlgorithms.php
Expand Up @@ -17,6 +17,7 @@ class HashAlgorithms
public function subscribe(Dispatcher $events)
{
if (config('secure.cipher') == 'SHA256') {
app()->singleton('cipher', \Integration\Authme\Cipher\SHA256::class);
// Authme 的 SHA256 算法和别人不一样
$this->adaptToAuthmeSha256($events);
}
Expand Down

0 comments on commit 90dc338

Please sign in to comment.