# Recover admin login

Fucked up with your login? Can't get your password/username working?

First, you will need to find out where your "artisan" file is. Weather its installed locally or in a docker container or anywhere else, find where its installed then, look for the file. Could be in /app/www area. So try there first.

Once you find it, get into the root folder that the artisan file is located. In my cases, its in /app/www. Then run:

```bash
php artisan bookstack:create-admin --email="you@idiot.com" --name="shit4brains" --password="yournewpassword"
```

Output should be something like:  
<span style="color: rgb(22, 145, 121);">Admin account with email "you@idiot.com" successfully created!</span>

You should now have access to your bookstack again.

Now, don't do that again.