about summary refs log tree commit diff
path: root/app/policies/user_policy.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-07 15:03:31 +0200
committerGitHub <noreply@github.com>2022-04-07 15:03:31 +0200
commit3f9959a4b66c8d33a1de6dd13972327ff62f2cd3 (patch)
tree56bef462d8ec527b893e5f02d687d419b5440cc9 /app/policies/user_policy.rb
parent00c9363f07081e0149533023992fba47dd905384 (diff)
parente2f4bafc136cb0853321ed4be1b02106bec8bc93 (diff)
Merge pull request #1734 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/policies/user_policy.rb')
-rw-r--r--app/policies/user_policy.rb8
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