DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:forgotten_password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:forgotten_password [2011-12-14 03:42] 210.118.73.164faq:forgotten_password [2020-05-07 16:06] (current) Michaelsy
Line 21: Line 21:
   - and delete the new one again (not necessary, but advisable if you're concerned about security)   - and delete the new one again (not necessary, but advisable if you're concerned about security)
  
-:!: Alternativecase 2 ( can'password mail ) +:?: What if I **am the admin** and I **turned off** registration? 
-  - [[http://forum.dokuwiki.org/thread/2778]] Lost admin password+ 
 +:!:  
 +  - open ''conf/users.auth.php'' 
 +  - add new line for temporary user <code>deleteme:$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0:-:-:admin,user </code> where ''$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0'' is hashed ''admin'' 
 +  - login for user: ''deleteme'' with password ''admin'' 
 +  - change the password of your old user 
 +  - logout 
 +  - login as the old user 
 +  - delete ''deleteme'' user 
 + 
 +===== See also ===== 
 + 
 +  * [[https://forum.dokuwiki.org/post/69304|A forum post with an alternative method]] 
faq/forgotten_password.1323830545.txt.gz · Last modified: 2011-12-14 03:42 by 210.118.73.164

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki