mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 20:03:51 +08:00
DEV: Correct merge conflicts for 9cfe3f99
This commit is contained in:
parent
9cfe3f9948
commit
c4ff66e1a5
|
@ -134,9 +134,7 @@
|
|||
<td>{{authProvider.account.description}}</td>
|
||||
<td>
|
||||
{{#if authProvider.method.can_revoke}}
|
||||
{{#conditional-loading-spinner condition=revoking size='small'}}
|
||||
{{d-button action=(action "revokeAccount") actionParam=authProvider.account title="user.associated_accounts.revoke" class="btn-danger no-text" icon="trash-alt" }}
|
||||
{{/conditional-loading-spinner}}
|
||||
{{d-button action=(action "revokeAccount") actionParam=authProvider.account title="user.associated_accounts.revoke" class="btn-danger no-text" icon="trash-alt" disabled=(get revoking authProvider.method.name) }}
|
||||
{{/if}}
|
||||
</td>
|
||||
{{else}}
|
||||
|
|
|
@ -487,7 +487,7 @@ RSpec.describe Users::OmniauthCallbacksController do
|
|||
expect(response.redirect_url).to start_with("http://test.localhost/associate/")
|
||||
|
||||
expect(session[:current_user_id]).to eq(user.id)
|
||||
expect(UserAssociatedAccount.count).to eq(0) # Reconnect has not yet happened
|
||||
expect(UserAssociatedAccount.count).to eq(1) # Reconnect has not yet happened
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user