Authenticate user
This commit is contained in:
parent
d49f71fb4f
commit
37fb3b4e0b
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Settings::PeopleController < ApplicationController
|
class Settings::PeopleController < ApplicationController
|
||||||
|
before_action :authenticate_user!, only: :new
|
||||||
|
|
||||||
before_action :set_account
|
before_action :set_account
|
||||||
before_action :set_person_from_token, only: :new
|
before_action :set_person_from_token, only: :new
|
||||||
|
|
||||||
|
|
Reference in a new issue