forgot backend password, how do you reset?!
#1
Posted 03 September 2012 - 04:20 PM
I see that the backend of processwire is simple. I like that but... I've forgotton my email for my backend project I'm creating locally with MAMP. Simple but... where is the button such as, "forgot password". I suppose I missing something obviuos but I cannot find it in the display neither in google or in these forums.
So,
How do you reset/retieve your password from you backend of processwire?
Greetings,
Dani
#2
Posted 03 September 2012 - 04:38 PM
#3
Posted 03 September 2012 - 04:41 PM
I think only solution would be to install new, or do this:
Create a /tool.php in the same directory as the /index.php in the root of PW install.
Paste in this code:
<?php
include("index.php");
wire("modules")->get("ProcessForgotPassword");
Save it and if necessary upload it to your server. Remember the file as you'll need it shortly.
Now call it from the browser http://yourdomain.com/tool.php and the Module will get installed and a Password forgot link should show up on the login screen.
Delete the tool.php.
Edit: You can, using this technique, also set a new password for the admin, see on the link Diogo posted.
@somartist | modules created | support me, flattr my work flattr.com
#4
Posted 03 September 2012 - 04:55 PM
#5
Posted 04 September 2012 - 03:07 AM
So no need to going mad even if you developed for days on it.
The password is something you shouldn't forget, and the forgot password module isn't installed by default for security reasons.
@somartist | modules created | support me, flattr my work flattr.com
#6
Posted 04 September 2012 - 08:23 AM
$u = $users->get('admin'); // or whatever your username is
$u->of(false);
$u->pass = 'your-new-password';
$u->save();
#8
Posted 25 October 2012 - 09:37 AM
#10
Posted 26 October 2012 - 02:22 PM
#11
Posted 26 October 2012 - 02:30 PM
It's field_pass not field_password
And yes you can put a "password" field in other templates
@somartist | modules created | support me, flattr my work flattr.com
#12
Posted 26 October 2012 - 02:32 PM
#13
Posted 26 October 2012 - 02:38 PM
Ahhh you mean so it get's used as a real password field with encryption? I don't think but should be possible to add functionality through a module?
Edit: look normal so far, it works without anything!
@somartist | modules created | support me, flattr my work flattr.com
#14
Posted 26 October 2012 - 03:20 PM
#15
Posted 26 October 2012 - 03:39 PM
@somartist | modules created | support me, flattr my work flattr.com
Also tagged with one or more of these keywords: password, backend, reset, password reset, backend password, forgot password
Community Support →
Getting Started →
Extending the PW-backend: e.g. CRUD systemStarted by dragan, 07 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module/Plugin Development →
Storing passwords in module configStarted by teppo, 27 Apr 2013 |
|
|
||
Welcome to ProcessWire →
Wishlist & Roadmap →
Add option to add repeater item from the topStarted by isellsoap, 26 Apr 2013 |
|
|
||
Community Support →
General Support →
Multisite install login problem?Started by photoman355, 09 Apr 2013 |
|
|
||
Welcome to ProcessWire →
Wishlist & Roadmap →
Password HashingStarted by FvG, 04 Mar 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













