mirror of
https://github.com/JLiscom/OpenNote.git
synced 2026-04-25 16:25:49 +03:00
[GH-ISSUE #87] Password Recovery #78
Labels
No labels
bug
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OpenNote-JLiscom#78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rapidpage on GitHub (Sep 26, 2014).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/87
Is there anyway to recover a password?
@JLiscom commented on GitHub (Sep 26, 2014):
No.
You can reset it by going through MySQL
@rapidpage commented on GitHub (Sep 28, 2014):
will do, thanks
@Snowflake6 commented on GitHub (Aug 10, 2015):
How can one reset the password by going through MySQL? I tried deleting the encrypted password that was there, but it doesn't prompt me for a new one. And if I just put a new one in there (in plaintext), it doesn't accept it when I try logging in. How do I generate an encrypted PW to put in the MySQL DB?
@Snowflake6 commented on GitHub (Aug 11, 2015):
Update - Answering my own question. At least, for people using phpMySQL, you can select the "ENCRYPT" function when you edit the cell with the password in it. Enter the password in plaintext, select "ENCRYPT" and hit apply. The password will be encrypted, and you'll be able to log in with the new password.
@JLiscom commented on GitHub (Aug 12, 2015):
@Snowflake6,
Password is hashed in PHP. Register a temporary user with the password you want. Then go in MySQL copy the password from the temp and paste it into the user you wanted to change and delete the temp user row.
In new versions we are moving away from doing user management and delegating that to other services which we consume. Like CouchDB
@Snowflake6 commented on GitHub (Aug 12, 2015):
That's unfortunate... I may not have the ability to add CouchDB to my website, where I run OpenNote. Why move away from MySQL?
@JLiscom commented on GitHub (Aug 13, 2015):
@Snowflake6
CouchDB lets you do data sync. Remember I keep this up mostly because I use it.
I wanted to be able to have a cached offline app on my phone and have it automatically sync changes back up when I reconnected. I would have to write all that in PHP and MySQL where as I get it for free with CouchDB.
This is opensource so if someone doesn't like what I am doing they can fork the project and keep up the AMP version.
@Snowflake6 commented on GitHub (Aug 13, 2015):
Right, I understand. I like the idea of syncing to the phone, so that's not a bad thing. Hopefully I can get CouchDB installed on my ISP's server for my domain. :)
@JLiscom commented on GitHub (Aug 13, 2015):
@Snowflake6 Run it on you machine. Just sync your phone when connected to wifi.
If you have a home server you can put it on there. Or use AWS with a t2.micro instance. AWS offers a free year.
Or don't use couchdb at all and just use your brower cache. I build a export function at allows you to backup your notes to a file and reimport them if you were to ever clear the cache.
CouchDB and the Angular app do not need to be on the same server.
@JLiscom commented on GitHub (Aug 13, 2015):
@Snowflake6 a quick google search showed a company that will host a couchdb instance for free
http://www.iriscouch.com/
@Snowflake6 commented on GitHub (Aug 13, 2015):
As I already have a domain hosted, i'd prefer to stick with it... I'm very comfortable with the security of my domain right now, and i'd like to stick with it for acccessibility. I've run a home server before, but the ADSL means retrieving from it takes bloody ages, and the dynamic DNS necessary to keep it running isn't stable enough for my needs.
If I can get CouchDB running on my hosted domain, that'll be the ideal solution. If not, I may fork the code and maintain the AMP solution.