aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-08-05 19:37:10 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-08-11 20:03:02 +0200
commit12102baa7d1c875c6ffd1d2941085c9679bd435d (patch)
tree5bbe831e98f53aed19e669950fcf486fe50f717d /app/models
parentAlternative login with openID (diff)
downloadrecruiting-webapp-12102baa7d1c875c6ffd1d2941085c9679bd435d.tar.gz
recruiting-webapp-12102baa7d1c875c6ffd1d2941085c9679bd435d.tar.bz2
recruiting-webapp-12102baa7d1c875c6ffd1d2941085c9679bd435d.zip
If user is invalid only thing [s]he can do is editing his/her account.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/guest.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/guest.rb b/app/models/guest.rb
index 904dfe1..2e6a677 100644
--- a/app/models/guest.rb
+++ b/app/models/guest.rb
@@ -10,4 +10,5 @@ class Guest < Hobo::Guest
def questions_to_approve; []; end
def role; Role.new(:guest); end
def token; nil; end
+ def valid?; true; end
end