mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 17:23:41 +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>{{authProvider.account.description}}</td>
|
||||||
<td>
|
<td>
|
||||||
{{#if authProvider.method.can_revoke}}
|
{{#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" disabled=(get revoking authProvider.method.name) }}
|
||||||
{{d-button action=(action "revokeAccount") actionParam=authProvider.account title="user.associated_accounts.revoke" class="btn-danger no-text" icon="trash-alt" }}
|
|
||||||
{{/conditional-loading-spinner}}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -487,7 +487,7 @@ RSpec.describe Users::OmniauthCallbacksController do
|
||||||
expect(response.redirect_url).to start_with("http://test.localhost/associate/")
|
expect(response.redirect_url).to start_with("http://test.localhost/associate/")
|
||||||
|
|
||||||
expect(session[:current_user_id]).to eq(user.id)
|
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
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user