# Requesting Different Login Access

**URL:** <https://meta.discourse.org/t/requesting-different-login-access/311429>\
**Category:** Product Support\
**Created:** [June 10, 2024, 5:29pm UTC](https://meta.discourse.org/t/requesting-different-login-access/311429 "2024-06-10T17:29:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [June 10, 2024, 6:01pm UTC](https://meta.discourse.org/t/requesting-different-login-access/311429/2 "2024-06-10T18:01:51Z")

</div>

> [@wendellverli](#):
>
> discourse.fotografos.online

You’re self-hosted, so you just need to do something like this:

```plaintext
cd /var/discourse
./launcher enter app
rake admin:create

```

You can enter your email address there and change your password (or any user’s password. It doesn’t have to be an admin).

Changing the Email address is harder.

Something like

```plaintext
./launcher enter app
rails c
u=User.find_by_email('old@address.com')
ue=UserEmail.find_by(user_id: u.id)
ue.email_addrress='new@fun.com'
ue.save

```

Might work, but that’s more of a hint than a solution.

Easierr would be to create another admin account, log in with it, remove admin privs from that account, change the email address, then make it admin again.

---

_[View the full topic](https://meta.discourse.org/t/requesting-different-login-access/311429)._
