Require authentication for most actions
Some checks failed
Ruby CI / test (pull_request) Failing after 40s

This commit is contained in:
Andrew Tomaka 2024-09-08 20:53:07 -04:00
parent d0b4d000eb
commit 108959f2b0
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
14 changed files with 73 additions and 5 deletions

View file

@ -1,3 +1,5 @@
class GuestUser
def registered? = false
def unregistered? = true
end

View file

@ -2,4 +2,6 @@ class User < ApplicationRecord
has_secure_password
def registered? = true
def unregistered? = false
end