mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Review Changes for f4f8a293e7.
This commit is contained in:
@@ -229,8 +229,9 @@ export default function() {
|
||||
|
||||
if (data.password === 'need-second-factor') {
|
||||
if (data.second_factor_token) {
|
||||
return response({username: 'eviltrout'});
|
||||
return response({ username: 'eviltrout' });
|
||||
}
|
||||
|
||||
return response({ error: "Invalid Second Factor",
|
||||
reason: "invalid_second_factor",
|
||||
sent_to_email: 'eviltrout@example.com',
|
||||
|
||||
Reference in New Issue
Block a user