停止trustie同步cookie

This commit is contained in:
xiaoxiaoqiong 2021-12-29 15:00:37 +08:00
parent abde13f061
commit 650dbea38b
1 changed files with 384 additions and 384 deletions

View File

@ -251,7 +251,7 @@ class AccountsController < ApplicationController
def set_autologin_cookie(user)
token = Token.get_or_create_permanent_login_token(user, "autologin")
sync_user_token_to_trustie(user.login, token.value)
# sync_user_token_to_trustie(user.login, token.value)
cookie_options = {
:value => token.value,