Closed hematic closed 8 years ago
+1
Currently there's no way to reset the password (I know, I need to add it).
But there is a way to delete the user DB which will allow you to create a new one and you shouldn't lose any settings or requests as they're in separate databases.
This assumes the app is running on the same machine using meteor
and it's development server.
meteor mongo
db.users.find().pretty()
// Should see a single user. Verify this is the admin account you made!
db.users.drop()
// Should output true if successful
exit
Thanks this is exactly what i needed :)
No worries, sorry about that! Accounts were slapped together last minute so weren't fully developed, new version will fix this!
how do you run this?
From the command line that the machine that the application is running on.
@lokenx could you possibly implement a change password field inside the admin panel with a confirmation input to prevent accidents?
@lokenx hey, just wanted to say I love this idea and am currently working on a PHP/Laravel/VueJS version.
That's awesome, if you get it up to same features as mine I don't have any issue helping you bring it forward. I don't know PHP really but I love VueJS.
I have started working on a python one as people kept asking for it, but it's still early days compared to your PHP one it seems.
The only thing I really have left to do is the api stuff for the different apps. Will tackle that later this week.
Cool, let me know when repo is up!
Sure thing. I haven't the slightest clue how MeteorJS works or anything "NodeJS". I was running your app trying to see the calls in the console and couldn't find any ajax requests. I looked through the repo quite a bit and couldn't find any of the "gritty" stuff, like your API calls etc to see how you are formulating your requests and handling responses.
I found a really cool TMDB php api from some guy on github, I wrapped his package up so it could be used in composer/packagist and it has helped quite a bit https://github.com/Kryptonit3/TMDB-Laravel
Ah meteor doesn't work in the traditional way, it's all DDP based real time communication. It opens a socket to the server that you can call methods through instead of Ajax calls. It's used mainly in real time applications, changes propagate instantly instead of having to make a call for new data.
Whenever you see Meteor.call(…) in the client folder that's calling a server side method similar to an Ajax request inside the server folder.
I'm sure PHP has something similar but in the node world the main way to do it is via sockets.io if want to check it out.
Was able to delete via mongo but wishing this was part of the UI. :smile:
No matter what I do, I cannot find a way to undo this. I've tried the mongo way, there is 0 guides online on how to accomplish this. I am officially locked out of your software until further notice? :(
Mongo DB -> Users
collection -> Delete documents in collection. If you don't want to do it via command line, try using Robomongo.
@lokenx hey, just wanted to say I love this idea and am currently working on a PHP/Laravel/VueJS version.
Kryptonit3 - how far are you with this
So when i installed and set this up i made an admin password but never put it in my password manager. From what i can tell, there is no way to reset or change it now and i am locked out of the admin console. There should definitely be an option to do so.
Thanks for all your hard work!