Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📑 Erneuerung des Reset-Befehls in der Dokumentation #110

Merged
merged 1 commit into from
Oct 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ Hier beantworten wir dir die Fragen, die möglicherweise auftreten könnten.
??? question "Wie setze ich mein Passwort zurück?"
Du hast dein MySpeed-Passwort vergessen? Das passiert, kein Problem. Zum zurücksetzen navigiere in den Installationsort (`cd /opt/myspeed`) und führe den folgenden Befehl aus:
```sh
node -e "const db = require('better-sqlite3')('data/storage.db'); db.prepare('UPDATE config SET value = ? WHERE key = ?').run('none', 'password');"
node -e "const {Sequelize} = require('sequelize');const db = new Sequelize({dialect: 'sqlite', storage: 'data/storage.db'});db.query('UPDATE config SET value=? WHERE key=?', {replacements: ['none', 'password']})"
```
Dann kannst du die Seite erneut aufrufen und dein Passwort manuell festlegen :)
Dann kannst du die Seite erneut aufrufen und dein Passwort manuell festlegen :)