mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Review Changes for https://github.com/discourse/discourse/pull/5612/commits/f4f8a293e74e6a37c7bee7645d9ca1d72a7d5bd3.
This commit is contained in:
parent
f4f8a293e7
commit
14f3594f9f
47 changed files with 843 additions and 492 deletions
|
@ -169,7 +169,7 @@ const AdminUser = Discourse.User.extend({
|
|||
},
|
||||
|
||||
disableSecondFactor() {
|
||||
return ajax("/admin/users/" + this.get('id') + "/disable_second_factor", {
|
||||
return ajax(`/admin/users/${this.get('id')}/disable_second_factor`, {
|
||||
type: 'PUT'
|
||||
}).then(() => {
|
||||
this.set('second_factor_enabled', false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue