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:
parent
66c18a0bec
commit
799b402778
7 changed files with 52 additions and 26 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue