Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2019-06-21 12:00:20 +02:00
parent e2a58034cd
commit 8fb05e6d0c
6 changed files with 13 additions and 13 deletions

View File

@@ -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>