Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

2fa failing

Scheduled Pinned Locked Moved Solved Pixelfed
4 Posts 3 Posters 37 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RazielKanosR Offline
    RazielKanosR Offline
    RazielKanos
    wrote on last edited by RazielKanos
    #1

    When I wanted to log in today to my pixelfed account I was asked to enter a tf2 code, so I used my cloudron tf2 code, but it keeps telling me it failed. I currently have no clue how to access my accounts, is there some way how I can access the database with something like phpmyadmin?

    1 Reply Last reply
    0
  • RazielKanosR RazielKanos marked this topic as a question on
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #2

    Pixelfed is not integrated with Cloudron user-management so this is unrelated to Cloudron 2fa altogether.

    To get access to the database you can use the webterminal https://docs.cloudron.io/apps/#web-terminal and there is a button to inject mysql connection details for the mysql commandline interface.

    You may also see what pixelfed cli tool (php artisan) has as commands to maybe disable 2fa for individual users. Try to run:

    sudo -u www-data php artisan --help
    
    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #3

    I was able to disable by doing something like this in the web terminal:

    # mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -e "UPDATE users SET 2fa_enabled=0 WHERE email='test@cloudron.io'"
    
    1 Reply Last reply
    0
  • girishG girish has marked this topic as solved on
  • RazielKanosR Offline
    RazielKanosR Offline
    RazielKanos
    wrote on last edited by
    #4

    Luckily i had a running instance on my old notebook, so i could recreate everything and give it it's own bitwarden info 😄

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.