mirror of
https://github.com/filegator/filegator.git
synced 2025-08-13 10:04:08 +02:00
Website generation with Couscous
This commit is contained in:
@@ -148,14 +148,14 @@
|
||||
<h2 id="resetting-admins-password">Resetting Admin's password</h2>
|
||||
<p>If you forgot your admin password you can follow these steps to reset it:</p>
|
||||
<ul>
|
||||
<li>Backup your current users file <code>/private/users.json</code> to a safe place</li>
|
||||
<li>Copy blank template <code>/private/users.json.blank</code> over <code>/private/users.json</code> or simply refresh your browser</li>
|
||||
<li>Backup your current users file <code>private/users.json</code> to a safe place</li>
|
||||
<li>Copy blank template <code>private/users.json.blank</code> over <code>private/users.json</code> or simply refresh your browser</li>
|
||||
<li>Login as admin with default credentials <code>admin/admin123</code></li>
|
||||
<li>Put your original users file back to <code>/private/users.json</code> replacing the template</li>
|
||||
<li>Put your original users file back to <code>private/users.json</code> replacing the template</li>
|
||||
<li>Since you are now logged in as admin, simply go to users page and change your password</li>
|
||||
<li>Log out and try to login with the new password</li>
|
||||
</ul>
|
||||
<p>Note: If you're using database Auth adapter then simply run this query to set default password back to <code>admin123</code>:</p>
|
||||
<p>Note: If you're using database Auth adapter then simply run this query to set default password back to <code>admin123</code></p>
|
||||
<pre><code>UPDATE `users`
|
||||
SET `password` = '$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq'
|
||||
WHERE `username` = 'admin';</code></pre>
|
||||
|
Reference in New Issue
Block a user