2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-08-21 19:11:18 +08:00

fix horribly broken invite code, could lead to inviting the wrong person to a conversation

This commit is contained in:
Sam 2013-06-19 10:31:19 +10:00
parent 66c18a0bec
commit 799b402778
7 changed files with 52 additions and 26 deletions

View file

@ -2,6 +2,9 @@ require 'cache'
module Discourse
# Expected less matches than what we got in a find
class TooManyMatches < Exception; end
# When they try to do something they should be logged in for
class NotLoggedIn < Exception; end