diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-04-07 15:03:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 15:03:31 +0200 |
commit | 3f9959a4b66c8d33a1de6dd13972327ff62f2cd3 (patch) | |
tree | 56bef462d8ec527b893e5f02d687d419b5440cc9 /app/policies | |
parent | 00c9363f07081e0149533023992fba47dd905384 (diff) | |
parent | e2f4bafc136cb0853321ed4be1b02106bec8bc93 (diff) |
Merge pull request #1734 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/user_policy.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/policies/user_policy.rb b/app/policies/user_policy.rb index 92e2c4f4b..140905e1f 100644 --- a/app/policies/user_policy.rb +++ b/app/policies/user_policy.rb @@ -13,14 +13,6 @@ class UserPolicy < ApplicationPolicy admin? && !record.staff? end - def disable_sign_in_token_auth? - staff? - end - - def enable_sign_in_token_auth? - staff? - end - def confirm? staff? && !record.confirmed? end |