Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

require typing an SMS code when deleting a repo #1509

Open

Description

@oprogramador

Deleting a repo can be very dangerous so I would like such a procedure:

  • I click Delete this repository
  • I type my phone number
  • GitHub sends me an SMS with a 6-digit token
  • I type the token in an input inside the Are you absolutely sure? dialog
  • I click I understand the consequences, delete this repository
  • the phone number is used only once so GitHub doesn't store my phone number and many users can use the same phone number

Maybe for the users, who don't want to reveal their phone number or who live in some areas when they cannot obtain an SMS, there could be some other options:

  • resolving a captcha
  • typing an email token

The problem, I would like to resolve is currently archiving and deleting a repo looks in a very similar way so somebody can accidentally delete a repo instead of archiving. However as the archiving is a revertible process, maybe it should be easier - just one click in contrary to deleting a repo where a user has to type the repo name.

Activity

  1. added
    authentication
    project management
    on Mar 1, 2019
  2. TPS commented on Mar 1, 2019

    @TPS
    Collaborator

    I'd modify this to be generally optional &/or configurably only for source (non-fork) repositories. Else, this'd cause mayhem for frequent forkers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authenticationforksproject management

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions