ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
177 stars 7 forks source link

More Explicit Login on Demo #17

Closed juancarlospaco closed 6 years ago

juancarlospaco commented 6 years ago

https://nimwc.org/login

It only says "use the test user", Ive tried:

Honestly I dont know whats the user and password on the Demo. Maybe just be more explicit, add on the index page something like:

USER: test@test.com PASS: test

:thinking:

ThomasTJdev commented 6 years ago

Good catch! Your bruteforce actually resulted in the correct user and pass ;-) (test@test.com/test) - but I forgot to compile with -d:demo, which would show the username and password and allowing you to login with the demouser.

I will fix it later or on saturday. Thanks!

https://github.com/ThomasTJdev/nim_websitecreator/blob/master/nimwcpkg/tmpl/user.tmpl#L30-L37

https://github.com/ThomasTJdev/nim_websitecreator/blob/master/nimwcpkg/nimwc_main.nim#L382-L384

ThomasTJdev commented 6 years ago

Compiled with -d:demo:

https://nimwc.org/login