Skip to content

One-click button for admin to remove user's google/github login creds IFF alternate is available #419

@compwron

Description

@compwron

One-click button for admin to remove user's google/github login creds IFF alternate is available
See https://mail.google.com/mail/u/0/#inbox/FMfcgxmSclznXQLqlLNCRfVrlTdcjcQX in the membership email

Commands to run in prod console to do this:

id = XXX # get this from member page url https://app.doubleunion.org/members/users/XXX?locale=en
user_to_change = User.find(id)
user_to_change.authentications
authentication_to_delete = user_to_change.authentications.where(provider: 'google_oauth2')
authentication_id = authentication_to_delete.id
Authentication.find(authentication.id).destroy

Metadata

Metadata

Assignees

No one assigned

    Labels

    admin toolsHelps the membership coordinator or board administrate member accountshelp wantedIssue does not require DU membership to completeup-for-grabsGetting listed on https://up-for-grabs.net to get more dev help

    Type

    No type

    Projects

    Status

    Needs more details

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions