ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.24k stars 396 forks source link

How to access admin page? #248

Closed 19wolf closed 4 years ago

19wolf commented 4 years ago

I'm trying to get to the admin page on my server (and I'm not currently on my server's network), what do I do to whitelist myself? Running in Docker if that's relevant.

Search brought me to https://github.com/ajanata/PretendYoureXyzzy/issues/165 but the solution seems out of date.

Dalkei commented 4 years ago

Lucky for you, Ajanta has followed through with adding admins to the build properties.

Unlucky for you, you have to build the project again for it to take effect.

https://github.com/ajanata/PretendYoureXyzzy/blob/master/build.properties.example#L16

joncamfield commented 4 years ago

Any chance that could be set through Docker environment variables?

ajanata commented 4 years ago

Lucky for you, Ajanta has followed through with adding admins to the build properties.

Unlucky for you, you have to build the project again for it to take effect.

https://github.com/ajanata/PretendYoureXyzzy/blob/master/build.properties.example#L16

You can go in and edit the resulting properties file directly without having to do a build.

Any chance that could be set through Docker environment variables?

There is no official Dockerfile, so you'd have to bring that up with whomever is providing it.