We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b728e92 commit 54b1f0fCopy full SHA for 54b1f0f
crates/policy/src/model.rs
@@ -49,6 +49,9 @@ pub enum Code {
49
50
/// The email address is banned.
51
EmailBanned,
52
+
53
+ /// The user has reached their session limit.
54
+ TooManySessions,
55
}
56
57
impl Code {
@@ -66,6 +69,7 @@ impl Code {
66
69
Self::EmailDomainBanned => "email-domain-banned",
67
70
Self::EmailNotAllowed => "email-not-allowed",
68
71
Self::EmailBanned => "email-banned",
72
+ Self::TooManySessions => "too-many-sessions",
73
74
75
0 commit comments