Browse Source

fixed 账号相关方法增加登录验证

pull/347/head
xxq250 1 year ago
parent
commit
484346d542
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/accounts_controller.rb

+ 1
- 1
app/controllers/accounts_controller.rb View File

@@ -1,5 +1,5 @@
class AccountsController < ApplicationController
before_action :require_login, only: [:login_check, :simple_update]
before_action :require_login, only: [:login_check, :simple_update, :change_password]
include ApplicationHelper

#skip_before_action :check_account, :only => [:logout]


Loading…
Cancel
Save