         if not id
             return
         webapp_client.unlink_passport
-            strategy : strategy
+            strategy : strategy.name
             id       : id
             cb       : (err) ->
                 if err

                </ButtonToolbar>
            </Well>

    render_strategy: (strategy, strategies) ->
        if strategy != 'email'
            <Button
                disabled={@props.is_anonymous and not @state.terms_checkbox}
                onClick = {=>@setState(if strategy in strategies then {remove_strategy_button:strategy, add_strategy_link:undefined} else {add_strategy_link:strategy, remove_strategy_button:undefined})}
                key     = {strategy}
                bsStyle = {if strategy in strategies then 'info' else 'default'}>
                <Icon name={strategy} /> {misc.capitalize(strategy)}...
            </Button>

    render_sign_out_error: ->

{PROJECT_UPGRADES} = require('smc-util/schema')

{APIKeySetting} = require('./api-key')

{ LEGACY_SSO } = require("./passport-types")

log_strategy = (is_anonymous, name) ->
    if is_anonymous
