mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add a failed_code
we can check for when using Auth::Result
This commit is contained in:
parent
5d8508c523
commit
16407dfc11
@ -6,8 +6,11 @@ class Auth::Result
|
|||||||
:admin_not_allowed_from_ip_address, :omit_username,
|
:admin_not_allowed_from_ip_address, :omit_username,
|
||||||
:skip_email_validation
|
:skip_email_validation
|
||||||
|
|
||||||
attr_accessor :failed,
|
attr_accessor(
|
||||||
:failed_reason
|
:failed,
|
||||||
|
:failed_reason,
|
||||||
|
:failed_code
|
||||||
|
)
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@failed = false
|
@failed = false
|
||||||
|
Loading…
Reference in New Issue
Block a user